v1

latestOpenAPI 3.1.02026-07-1351614.6 KB
v1

Generate Conversational Token

Generate a token for joining conversational AI voice calls.

This endpoint creates a JWT token that allows users to join a LiveKit room where they can interact with conversational AI voice agents.

Parameters:

  • workflow: The workflow identifier for the AI agent
  • draft: Whether to use the draft version of the workflow
  • dynamic_variables: Variables to pass to the workflow
  • identity: User identity (defaults to 'voice_assistant_user')
  • metadata: Additional metadata to include in the token
post/v1/conversational/token

Request body

identitystring

User identity (defaults to 'voice_assistant_user')

metadataobject

Additional metadata to include in the token

Response

Successful Response

server_urlstring required

LiveKit server URL

room_namestring required

Room name to join

participant_tokenstring required

JWT token for authentication