Update a webhook’s URL, events, room scope, or enabled state. At least one field must be provided.
Endpoint
PATCH /v1/accounts/:accountId/webhooks/:id
Authentication
Bearer token required.
Path Parameters
Request Body
All fields are optional, but at least one must be provided.
New list of subscribed events.
New room scope. Set to null to subscribe to events from all rooms.
Enable or disable the webhook.
Response
webhook
WebhookRegistrationPublic
Example
curl -X PATCH https://api.collab-kit.com/v1/accounts/${ACCOUNT_ID}/webhooks/wh_abc123 \
-H "Authorization: Bearer ${TOKEN}" \
-H "Content-Type: application/json" \
-d '{
"events": ["participant.joined", "participant.left", "user.created"],
"enabled": true
}'
{
"type": "response",
"success": true,
"description": "Webhook updated",
"data": {
"webhook": {
"id": "wh_abc123",
"organization_id": "a1b2c3d4-...",
"url": "https://api.example.com/collab-webhook",
"events": ["participant.joined", "participant.left", "user.created"],
"room_id": null,
"enabled": true,
"created_at": "2026-05-29T10:00:00.000Z",
"updated_at": "2026-05-29T11:00:00.000Z"
}
},
"error": null
}