Webhooks
Subscribe to webhook events
POST
/
v4
/
webhook-subscriptions
Authorizations
x-api-key
string
headerrequiredBody
application/json
webhookUrl
string
requiredThe URL to send the webhook events to
webhookHttpMethod
enum<string>
requiredThe HTTP method to use for the webhook (GET or POST)
Available options:
GET
, POST
events
any[]
requiredThe list of events to subscribe to (available events can be fetched over the /events API)
Response
201 - application/json
id
string
The ID of the created webhook subscription
message
string
Success message