Overview
Updates an existing webhook subscription. You can change the target URL, the list of subscribed events, or the subscription status (activate/deactivate).Endpoint
Authentication
Requires a valid API Key with thepartner_webhooks_manage permission.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | UUID | Yes | The subscription ID. |
Request Body
All fields are optional. Only include the fields you want to change.| Field | Type | Required | Description |
|---|---|---|---|
url | string (URL) | No | New webhook URL. Must pass all URL validation rules. |
events | string[] | No | New list of events. Replaces the entire existing list. |
status | string | No | ACTIVE or INACTIVE. Set to INACTIVE to pause deliveries without deleting. |
Example Request
Success Response
HTTP Status:200 OK
Error Responses
| HTTP Status | Code | Description |
|---|---|---|
400 | VALIDATION_ERROR | Invalid URL, event name, or status value |
401 | UNAUTHORIZED | Missing or invalid API key |
403 | FORBIDDEN | Missing partner_webhooks_manage permission |
404 | RESOURCE_NOT_FOUND | Subscription not found |
Notes
- Providing
eventsreplaces the entire list of subscribed events — it is not additive. - Setting
statustoINACTIVEpauses deliveries. ExistingPENDINGdeliveries in the queue will still be attempted but will fail immediately (subscription inactive check at dispatch time). - The secret is not affected by updates. To rotate the secret, use the dedicated rotate-secret endpoint.