Webhooks
Update a webhook configuration
This endpoint updates a webhook configuration.
patch/webhooks/{webhook_id}
Path parameters
webhook_idinteger required
The webhook object identifier.
Query parameters
org_idinteger
Organization identifier, only required for PROVIDER users.
Request body
Example request
{
"url": "https://example.com/webhook",
"custom_headers": {
"X-My-Header": "my-value",
"X-Auth-Token": "secret-token"
}
}Response
OK
Example response
{
"id": 1,
"url": "https://example.com/webhook",
"event_type": "business_created",
"created_at": "2024-11-27T16:10:44.929678Z",
"updated_at": "2024-11-27T16:10:44.929678Z",
"org_id": 1,
"custom_headers": {
"X-My-Header": "my-value",
"X-Auth-Token": "secret-token"
}
}