Skip to main content
POST
Mint a client token for one participant. Pass it to the <ConnectThread> component or use it to open the thread WebSocket for a custom UI. The token grants exactly that participant’s view: their lanes, their language, read/send only while the thread accepts messages. Tokens expire after 24 hours by default — mint them server-side when your app opens the order screen, not at order creation.

Path

string
required
Thread ID (th_…) or your reference.

Request

string
required
Participant ID (prt_…) or their external_id.
number
default:"86400"
Token lifetime, max 7 days.

Response

string
The scoped participant token.
string
ISO 8601 expiry.