Trillet AI logo

Create SDK Token

Mint a token for the browser SDK. The token is valid for 24 hours.

POSThttps://api.trillet.ai/v1/api/calls/sdk/auth

Use this when a web or mobile client needs to start a call without holding the workspace API key. The API key stays on your server. The client uses the returned token.

Headers

x-workspace-idstringrequired

Workspace identifier for the API.

Response

The response includes an SDK token that expires 24 hours after it is minted.