v9

latestOpenAPI 3.0.3raw.githubusercontent.com2026-07-2181734.3 KB
publicAPI

Get public API token

Retrieves the current Public API token for a partner-managed workspace. If a token already exists it is returned as the raw token value so that the partner can configure it in their integration. If no token exists yet, the platform creates a new one and returns it. Only workspaces owned by the calling partner and not billed via are eligible. The response must be treated as sensitive: tokens are returned only over authenticated Partner API calls .

get/workspaces/{workspace_id}/api-token

Path parameters

workspace_idstring required

Headers

X-TL-Partner-Idstring required

The unique identifier for the partner.

Response

Public API token

workspace_idstring required

Unique identifier for the workspace

tokenstring required

Raw Public API token value

rotated_atstring date-time

Timestamp when the token was rotated and became invalid.

Example response

{
  "rotated_at": "2024-01-01T12:00:00Z"
}