SLNG Voice Agents API
string · uuid · requiredstring · requiredstring · uuid · requiredstring · requiredstring · requiredstring · requiredstring · required
Create Web Session
POST
https://api.slng.ai
/v1/agents/{agent_id}/web-sessions
Create a web (non-telephony) LiveKit session using a voice agent.
path Parameters
agent_idAgent UUID
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Create Web Session › Request Body
object
Values for template variables in the system_prompt and greeting
Create Web Session › Responses
Web session created successfully
call_idSession UUID
room_nameLiveKit room name
livekit_urlLiveKit URL for client connections
livekit_tokenLiveKit access token for joining the room
messageStatus message