Update webhook
PATCH
/webhooks/{webhookId}
Updates one or more webhook delivery settings: target URL, shared secret, or subscribed event types. At least one field must be supplied; the enabled state is not changed by this endpoint.
Use cases
- Rotate the shared secret.
- Move deliveries to a new HTTPS receiver or change event subscriptions.
Related endpoints
- GET /webhooks/{webhookId} — read the current safe configuration.
- GET /webhooks — list configured destinations.
Parameters
Header Parameters
compatibility-date*
API compatibility date in YYYY-MM-DD format. Must be a date after 2025-11-01.
Type
Requiredstring
Example
"2025-11-02"Pattern
^\d{4}-\d{2}-\d{2}$organization-id*
Routes the request to the organization named by this ID. The bearer token must be authorized for that organization.
Type
Requiredstring
Example
"3b241101-e2bb-4255-8caf-4136c566a962"Min Length
1Max Length
40Path Parameters
webhookId*
ID returned by POST /webhooks. Use it to retrieve, update, or delete the destination.
Type
Requiredstring
Example
"f47ac10b-58cc-4372-a567-0e02b2c3d479"Max Length
36Format
"uuid"Pattern
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$Request Body
application/json
New HTTPS endpoint for event deliveries.
Max Length
256Format
"uri"New shared secret; update the receiver to use it because it is not returned by GET or list responses.
Min Length
8Max Length
40Replace the subscribed event types; duplicate values are rejected.
Min Items
1Responses
success.webhook.update
application/json