Update subscription
Partially updates a subscription. Omitted fields keep their current values. Set status to paused to stop deliveries without deleting the subscription, or send a new signingSecret to rotate the signing key.
Authentication
Authorizationstring
Use the API key format: api-key <token>.
Path parameters
subscriptionId
Subscription identifier returned by Create subscription.
Request
This endpoint expects an object.
endpointUrl
New HTTPS delivery URL. Plain http is rejected.
eventTypes
Replaces the full set of subscribed event types when provided.
signingSecret
Rotates the shared secret used to sign future webhook deliveries.
filters
Optional delivery filters for a subscription.
status
Set to paused to stop deliveries or active to resume them.
Response
The updated subscription.
id
Subscription identifier.
status
active subscriptions receive deliveries; paused ones do not.
endpointUrl
HTTPS URL events are delivered to.
eventTypes
Event types this subscription receives.
filters
Delivery filters. Omitted when none are configured.
createdAt
UTC timestamp when the subscription was created.
updatedAt
UTC timestamp of the last subscription change.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
405
Method Not Allowed Error
406
Not Acceptable Error
422
Unprocessable Entity Error
500
Internal Server Error