Generate temporary Voice Agent token
Query parameters
Maximum duration of the Voice Agent session started with this token, in seconds. There is no “closing soon” warning event before the session ends, so if you need to finalize gracefully (e.g. play a wrap-up message, save state), run a client-side timer using the value you passed here.
Response
The temporary authentication token. Pass as the token query parameter when opening the WebSocket.
The token redemption window in seconds — the time the client has to use this token to open a WebSocket before it expires unused. This is not the session duration; see max_session_duration_seconds for that.