Connect conversation
Starting a conversation
Connect Conversation
Create a conversation session and return room credentials for joining.
POST
Connect conversation
Use this endpoint to create a conversation session and receive:
room_urltokenconversation_session_id
Authorization: Bearer <YOUR_AKAPULU_API_KEY>Content-Type: application/json
scenario_idfor the scenario to runavatar_idfor the avatar to use in this conversation
runtime_varsfor template/runtime valuesstt_keywordsfor speech recognition hints- accepts either an array of strings or a comma-separated string
- maximum
5keywords
record_conversationwhether to record this conversation session (defaultfalse)
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Scenario ID to run for this conversation.
Avatar ID to use for this conversation.
Runtime variables injected into scenario templates.
Optional keywords used in the speech-to-text step of the pipeline to improve recognition of specific words in user speech (maximum 5).
Maximum array length:
5If true, enable recording for this conversation session.

