Create a webhook
Create a signed webhook endpoint. The signing secret is returned once; store it securely and verify every delivery signature.
Authentication
AuthorizationBearer
Use Bearer <api-key>.
Headers
BCTRL-Subaccount-Id
Optional effective subaccount context for organization API keys. Subaccount API keys are already scoped and cannot use this header to act as another subaccount.
Request
This endpoint expects an object.
events
url
name
Response
Created
createdAt
RFC 3339 timestamp with a UTC offset.
enabled
events
id
Unique webhook identifier generated by BCTRL.
name
secret
subaccountId
updatedAt
RFC 3339 timestamp with a UTC offset.
url
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error

