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
Example response
{
"rotated_at": "2024-01-01T12:00:00Z"
}