Webhook Subscriptions
Update a webhook subscription
Updates the destination, event types, or active state.
patch/webhooks/{webhookId}
Request
- Base URL: https://next-api.saturation.io/v1
- URL: https://next-api.saturation.io/v1/webhooks/{webhookId}
- Auth: HTTP bearer
Path parameters
webhookIdstring required
A stable resource ID, such as prj_…, txn_…, or doc_….
Example:txn_8f2a1c9e
Webhook subscription identifier (whk_…).
Request body
Example request
{
"url": "https://hooks.example.com/saturation/v2",
"events": [
"transaction.created"
]
}Response
The updated webhook subscription.
Example response
{
"id": "txn_8f2a1c9e",
"url": "https://hooks.example.com/saturation",
"events": [
"transaction.created"
],
"workspaceId": "txn_8f2a1c9e",
"projectId": "txn_8f2a1c9e"
}Changes
No recorded changes to this operation across all 4 revisions of this API.