The webhook object
string
Unique identifier. Prefixed with
wh_.string
Always
"webhook".string
A label for this endpoint.
string
The HTTPS URL that receives event POSTs.
array
List of event types this endpoint is subscribed to.
boolean
When
true, deliveries to this endpoint are suspended.string
Optional description.
string
ISO 8601 timestamp.
string
ISO 8601 timestamp.
Create a webhook
POST /webhooks
Body
string
required
Label for this endpoint.
string
required
The HTTPS URL to send events to.
array
required
Event types to subscribe to. At least one required. See event types.
string
Optional description.
Retrieve a webhook
GET /webhooks/{id}
Update a webhook
PUT /webhooks/{id}
Body
string
New label.
string
New destination URL.
array
Updated event type list. At least one required.
boolean
Set to
true to pause deliveries, false to resume.string
New description.
Delete a webhook
DELETE /webhooks/{id}

