Mint a Florent conversation WebSocket ticket

View as Markdown

Mints a short-lived, single-use ticket for the conversation WebSocket upgrade (the browser upgrade can’t carry a Bearer header). The response includes the ticket and the wsUrl to connect to. A conversation owned by another user (or unknown) reads as 404.

Authentication

AuthorizationBearer

WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.

Path parameters

idstringRequired

Response

The minted WebSocket ticket.
ticketstring
expiresInSecondsdouble
Seconds until the ticket expires.
wsUrlstring

WebSocket URL with the ticket pre-applied.

Errors

401
Unauthorized Error
404
Not Found Error