Create Webhook
Register a webhook endpoint for event notifications.
POST/v1/webhooks
Request body
urlstringrequiredHTTPS endpoint URL (max 2048 chars).
eventsstring[]Event types to subscribe to. Default: ["*"] (all).
Response
Returns 201 Created with the webhook object.
Important: The
secretfield is only returned on creation. Save it immediately — you'll need it to verify webhook signatures.
idstringWebhook ID.
urlstringThe registered endpoint URL.
eventsstring[]Subscribed event types.
secretstringWebhook signing secret (only returned on creation).
is_activebooleanWhether the webhook is active.
failure_countnumberNumber of consecutive delivery failures.
created_atstringISO 8601 timestamp.