{
"workspace_id": "my-workspace",
"event_type": "api_token:rotated",
"partner_id": "partner_12345",
"triggered_at": "2024-01-01T12:00:00.000Z",
"rotated_at": "2024-01-01T12:00:00.000Z"
}api_tokens
API Token Rotated
Triggered when a workspace Public API token is rotated via the Partner API.
WEBHOOK
api_token:rotated
{
"workspace_id": "my-workspace",
"event_type": "api_token:rotated",
"partner_id": "partner_12345",
"triggered_at": "2024-01-01T12:00:00.000Z",
"rotated_at": "2024-01-01T12:00:00.000Z"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
The unique identifier for the partner.
a JSON Web Token (JWT) token that contains the partner_id, nbf (not before), and exp (expiration) fields. using the partner''s shared secret and can be used to verify authenticity and integrity.
Body
application/json
Example:
"my-workspace"
Partner webhook event name.
Available options:
api_token:rotated Example:
"api_token:rotated"
Unique identifier of the partner that owns the workspace.
Example:
"partner_12345"
Timestamp when the event was triggered.
Example:
"2024-01-01T12:00:00.000Z"
Example:
"2024-01-01T12:00:00.000Z"
Response
200
Receiver accepted the event

