Create a webhook subscription
The URL must be HTTPS and resolve to a public address. The signing secret is returned once, in this response; store it.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
name
url
event
custom_headers
description
api_version
Response
The subscription with its signing secret (shown only once).
webhook_id
name
url
event
status
api_version
failure_count
created_at
updated_at
description
custom_header_names
last_failure_at
last_success_at
last_status_code
last_delivery_at
secret
Errors
400
Bad Request Error
401
Unauthorized Error
422
Unprocessable Entity Error
429
Too Many Requests Error
502
Bad Gateway Error
504
Gateway Timeout Error