Skip to main content

Update a webhook subscription

PATCH
/api/v1/webhooks/:subAccountId/:id

Updates an existing webhook subscription. All fields are optional. If the URL is changed, a new challenge verification is performed against the new endpoint.

Request​

Responses​

200 OK

Webhook subscription updated successfully

400 Bad Request

Validation error — invalid data

401 Unauthorized

Unauthorized — invalid or missing token

403 Forbidden

Forbidden — missing webhooks:manage scope or insufficient permissions

404 Not Found

Webhook subscription not found

422 Unprocessable Entity

Challenge verification failed for the new URL