Skip to main content
GET
Get public API token

Authorizations

Authorization
string
header
required

JWT bearer authentication. The token payload must include partner_id, nbf (not-before) and exp (expiry) claims. All Partner API requests must be authenticated with Authorization: Bearer .

Headers

X-TL-Partner-Id
string
required

The unique identifier for the partner.

Path Parameters

workspace_id
string
required

Response

200 - application/json

Public API token

Response payload for retrieving or rotating a workspace Public API token. Returns the workspace_id and the raw token value, and, for rotation calls, the rotated_at timestamp that indicates when the previous token became invalid.

workspace_id
string
required

Unique identifier for the workspace

token
string
required

Raw Public API token value

rotated_at
string<date-time>

Timestamp when the token was rotated and became invalid.

Example:

"2024-01-01T12:00:00Z"