Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Webhook instance ID #1985

Merged
merged 3 commits into from
Feb 5, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/webhooks/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ The payload of a webhook is a JSON object that contains the following properties
- `data`: contains the actual payload sent by Clerk. The payload can be a different object depending on the `event` type. For example, for `user.*` events, the payload will always be the [User](/docs/references/javascript/user/user) object.
- `object`: always set to `event`.
- `type`: the type of event that triggered the webhook.
- `timestamp`: timestamp in milliseconds of when the event occurred.
- `instance_id`: the identifier of your Clerk instance.

The following example shows the payload of a `user.created` event:

Expand Down Expand Up @@ -74,7 +76,9 @@ The following example shows the payload of a `user.created` event:
"username": null,
"web3_wallets": []
},
"instance_id": "ins_123",
"object": "event",
"timestamp": 1654012591835,
"type": "user.created"
}
```
Expand Down