Update subscription
Updates one or more fields of an event subscription. Fields not included in the request body are left unchanged.
- To rotate the signing secret, include a new `signingSecret` value. All subsequent deliveries will use the new secret.
- Set `status` to `paused` to temporarily suppress deliveries without deleting the subscription.
Authentication
Authorizationstring
Pass your API key in the `Authorization` header using the prefix `api-key`:
```
Authorization: api-key YOUR_API_KEY
```
Path parameters
subscriptionId
Event subscription identifier.
Request
This endpoint expects an object.
endpointUrl
New HTTPS endpoint URL.
eventTypes
Replaces the full list of subscribed event types.
Allowed values:
signingSecret
Rotates the signing secret. All deliveries sent after this update will be signed with the new value. Update your server-side verification logic before rotating to avoid rejecting legitimate deliveries.
filters
Optional filters that narrow which events are delivered to this subscription. All configured filter conditions must match for an event to be delivered.
status
Set to paused to suppress deliveries without deleting the subscription. Set back to active to resume.
Allowed values:
Response
OK
id
Subscription identifier.
status
active — deliveries are attempted. paused — deliveries are suppressed; use PATCH to resume.
Allowed values:
endpointUrl
HTTPS URL where event payloads are delivered.
eventTypes
Event types this subscription is configured to receive.
Allowed values:
filters
Optional filters that narrow which events are delivered to this subscription. All configured filter conditions must match for an event to be delivered.
createdAt
updatedAt