Create a Webhook Subscription

Creates a new webhook subscription for the given URL and event types

Request

This endpoint expects an object.
urlstringRequired
Customer provided webhook URL
event_typeslist of enumsRequired
Event types to subscribe to

Response

Create a Webhook Subscription
idstring
Unique public identifier for the webhook subscription
urlstring
URL where webhook events are delivered
event_typeslist of enums
Event types this subscription receives
is_activeboolean
Whether the subscription is active
created_atstringformat: "date-time"
ISO 8601 timestamp when the subscription was created
updated_atstringformat: "date-time"
ISO 8601 timestamp when the subscription was last updated

Errors

400
Bad Request Error