Create a Webhook Endpoint
Creates a webhook endpoint subscribed to one or more events.
POST
Requires the
webhooks:write scope.
Body
The endpoint URL to deliver events to. Must be HTTPS.
The events to subscribe to. Must be a non-empty list of valid event names — see List Available Events.
Response
Returns201 Created with the endpoint, including the one-time secret.
The webhook endpoint's unique id.
The HTTPS URL deliveries are POSTed to.
The events this endpoint is subscribed to.
Whether the endpoint is currently active. A disabled endpoint receives no deliveries.
Why the endpoint was disabled, if it is. One of
manual, 410_gone, or too_many_failures. null when active.The datetime (UTC) the endpoint was disabled, if it is.
The number of consecutive failed deliveries. Resets to
0 on a successful delivery or when the endpoint is re-enabled.The datetime (UTC) the endpoint was created.
The datetime (UTC) the endpoint was last updated.
The HMAC signing secret, returned only in this creation response. Store it securely.

