Skip to main content
POST
Rotate an event destination bearer secret

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

destinationId
string
required
Pattern: ^whk_[0-9A-HJKMNP-TV-Z]{26}$

Response

New bearer secret minted. Returned cleartext exactly once; the previous secret stops working immediately.

destinationId
string
required
Pattern: ^whk_[0-9A-HJKMNP-TV-Z]{26}$
bearerSecret
string
required

Bearer secret returned cleartext exactly once when minted. Sent on every delivery as Authorization: Bearer {secret}. Cannot be retrieved later.

Pattern: ^whsec_[A-Za-z0-9_-]{43}$
Example:

"whsec_3XvK2nQ8mB7pR1sT4uW6yZ0aE5gH9jLcV2bN1xM4qP8"

rotatedAt
string<date-time>
required