Webhooks
Authorizations
Body
eventstring · enumRequiredPossible values:
urlstringRequiredExample:
URL where webhook notifications will be sent
https://example.com/webhook-endpointResponses
201
The webhook subscription has been created
application/json
idstringRequiredExample:
Unique identifier of the webhook subscriber
123e4567-e89b-12d3-a456-426614174000eventstring · enumRequiredPossible values:
urlstringRequiredExample:
URL where webhook notifications will be sent
https://example.com/webhook-endpointsecretobjectRequiredExample:
Secret token used for HMAC signature generation
123e4567-e89b-12d3-a456-426614174000createdAtstring · date-timeRequiredExample:
Timestamp when the webhook subscription was created
2023-01-01T12:00:00ZupdatedAtstring · date-timeRequiredExample:
Timestamp when the webhook subscription was last updated
2023-01-01T13:30:00Z400
Bad request - URL and event are required
500
Internal server error
post
/api/webhook/subscriptionAuthorizations
Path parameters
idstringRequired
Subscription ID
Body
eventstring · enumOptionalPossible values:
urlstringOptionalExample:
URL where webhook notifications will be sent
https://example.com/webhook-endpointResponses
200
The updated webhook subscription
application/json
404
Subscription not found
500
Internal server error
put
/api/webhook/subscription/{id}Last updated
Was this helpful?