Skip to main content
POST
Mint client token

Authorizations

Authorization
string
header
required

Scoped API key created via POST /api/account/keys.

Body

application/json

Mint request

ephemeralId
string

EphemeralID is a developer-provided identifier for correlating tokens from the same browser, user, or tab.

Example:

"browser-abc123"

session
string

Session is the WhatsApp session name the token is scoped to.

Example:

"my-session"

ttlSeconds
integer

TTLSeconds is the token lifetime in seconds (default 900, max from config).

Example:

900

Response

OK

expiresAt
string
Example:

"2025-03-16T15:15:00Z"

token
string
Example:

"titan_ct_eyJhbGciOi..."