Get WebSocket Token
Mints a short-lived token scoped to this session, and the wss:// URL to connect with it. Use this to open a live, bidirectional connection for a session instead of polling POST /v1/chat/inbound — see the WebSocket integration guide.
Only the user stream can be minted with an API token; it carries the same customer conversation as the REST endpoints. The token expires 5 minutes after it’s issued — mint a fresh one to reconnect after that, or ahead of expiry to avoid a drop.
Authorizations
16-character API token associated with your OSVI account. Find it in your dashboard under Settings → API.
Path Parameters
The session UUID (from Create Session or Get Active Session).
"4718a326-417b-4dda-90d0-21fd65a11cb8"
Body
Which stream to mint a token for. Only user is available with an API token.
user "user"
