Skip to main content
POST
/
voice
/
tokens
Create Voice Token
curl --request POST \
  --url https://api.example.com/voice/tokens \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "session_meta": {}
}
'
{
  "room": "<string>",
  "token": "<string>",
  "session_id": "<string>",
  "livekit_url": "<string>",
  "workflow": {},
  "workflow_state": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.mrassistant.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Session creation model.

agent_id
string<uuid>
required
session_meta
Session Meta · object

Response

Successful Response

Session token response model for LiveKit room access.

room
string
required
token
string
required
session_id
string | null
livekit_url
string | null
workflow
Workflow · object
workflow_state
Workflow State · object