mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
Update deeplinks
This commit is contained in:
parent
95a229c34d
commit
3e84e1a432
@ -6,7 +6,7 @@ icon: "/images/app-icons/webhooks.svg"
|
||||
|
||||
Webhooks are a powerful way to keep your backend in sync with Stack. They allow you to receive real-time updates when events occur in your Stack project, such as when a user or team is created, updated, or deleted.
|
||||
|
||||
For more information and a list of all webhooks, please refer to the [webhook API reference](/api/webhooks/users/user-created).
|
||||
For payload schemas and each webhook event, see the [webhook API reference](/api/webhooks/users/usercreated).
|
||||
|
||||
## Setting up webhooks
|
||||
|
||||
@ -233,18 +233,18 @@ If you do not want to install the Svix client library or are using a language th
|
||||
|
||||
## Event types
|
||||
|
||||
Please refer to the webhook endpoint API reference for more details on the available event types and their payload structures.
|
||||
These are the `type` values you may receive. Each links to its API reference page.
|
||||
|
||||
- [user.created](/api/webhooks/users/user-created)
|
||||
- [user.updated](/api/webhooks/users/user-updated)
|
||||
- [user.deleted](/api/webhooks/users/user-deleted)
|
||||
- [team.created](/api/webhooks/teams/team-created)
|
||||
- [team.updated](/api/webhooks/teams/team-updated)
|
||||
- [team.deleted](/api/webhooks/teams/team-deleted)
|
||||
- [team\_membership.created](/api/webhooks/teams/team-membership-created)
|
||||
- [team\_membership.deleted](/api/webhooks/teams/team-membership-deleted)
|
||||
- [team\_permission.created](/api/webhooks/teams/team-permission-created)
|
||||
- [team\_permission.deleted](/api/webhooks/teams/team-permission-deleted)
|
||||
- [`user.created`](/api/webhooks/users/usercreated)
|
||||
- [`user.updated`](/api/webhooks/users/userupdated)
|
||||
- [`user.deleted`](/api/webhooks/users/userdeleted)
|
||||
- [`team.created`](/api/webhooks/teams/teamcreated)
|
||||
- [`team.updated`](/api/webhooks/teams/teamupdated)
|
||||
- [`team.deleted`](/api/webhooks/teams/teamdeleted)
|
||||
- [`team_membership.created`](/api/webhooks/teams/team_membershipcreated)
|
||||
- [`team_membership.deleted`](/api/webhooks/teams/team_membershipdeleted)
|
||||
- [`team_permission.created`](/api/webhooks/teams/team_permissioncreated)
|
||||
- [`team_permission.deleted`](/api/webhooks/teams/team_permissiondeleted)
|
||||
|
||||
## Examples
|
||||
|
||||
|
||||
@ -36,7 +36,7 @@ sidebarTitle: FAQ
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Can I migrate my existing userbase to Stack Auth?">
|
||||
Yes! You can [create users programmatically](/api/server/users/create) using our [REST API](/api/overview).
|
||||
Yes! You can [create users programmatically](/api/server/users/create-user) using our [REST API](/api/overview).
|
||||
</Accordion>
|
||||
</AccordionGroup>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user