Create Webhook Endpoint
Create a new webhook endpoint.
The signing secret is only returned once at creation time.
Store it securely as it cannot be retrieved again.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
account_id
Request
This endpoint expects an object.
url
The URL to receive webhook events
events
List of event types to subscribe to
description
Optional description for the webhook endpoint
Response
Successful Response
id
Unique webhook endpoint identifier
url
The URL receiving webhook events
events
List of subscribed event types
is_active
Whether the webhook endpoint is active
is_protected
Whether the webhook endpoint is protected from deletion
is_blacklisted
Whether the webhook endpoint is blacklisted due to consecutive delivery failures
consecutive_failures
Number of consecutive delivery failures (resets on success)
created_at
When the webhook endpoint was created
updated_at
When the webhook endpoint was last updated
signing_secret
Signing secret for verifying webhook payloads
description
Webhook endpoint description
blacklisted_at
When the webhook endpoint was blacklisted (null if not blacklisted)
last_failed_delivery
Information about the last failed delivery (only included for blacklisted endpoints)
Errors
422
Unprocessable Entity Error