Create an event destination
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Human-readable label for this destination within the organization.
1 - 128"Production"
Public HTTPS endpoint that will receive event deliveries. Plain HTTP is rejected.
2048^((%[0-9A-Fa-f]{2}|[-()_.!~*';/?:@&=+$,A-Za-z0-9])+)([).!';/?:,])?$"https://example.com/prets/events"
Optional client-supplied id. Server-generated when omitted.
^whk_[0-9A-HJKMNP-TV-Z]{26}$Response
Event destination created. bearerSecret is returned cleartext exactly once.
^whk_[0-9A-HJKMNP-TV-Z]{26}$Human-readable label for this destination within the organization.
1 - 128"Production"
Public HTTPS endpoint that will receive event deliveries. Plain HTTP is rejected.
2048^((%[0-9A-Fa-f]{2}|[-()_.!~*';/?:@&=+$,A-Za-z0-9])+)([).!';/?:,])?$"https://example.com/prets/events"
Bearer secret returned cleartext exactly once when minted. Sent on every delivery as Authorization: Bearer {secret}. Cannot be retrieved later.
^whsec_[A-Za-z0-9_-]{43}$"whsec_3XvK2nQ8mB7pR1sT4uW6yZ0aE5gH9jLcV2bN1xM4qP8"