JavaScript
Webhooks
Register a webhook subscription
Creates a webhook subscription with a delivery URL and an optional list of event types to subscribe to (defaults to all when omitted). The response includes the generated signing secret, which is returned only once at creation time and cannot be retrieved later.
POST
JavaScript
Authorizations
Bearer token via Authorization header
Body
application/json
Response
Webhook created (secret shown once)