Voice Sessions
In progress — not yet generally available
Voice sessions are under active development and are not enabled on production accounts yet. The API below is documented for preview and is subject to change. Reach out to your account team if you'd like early access.
Create a real-time voice session for a conversation using Daily and Pipecat:
curl -X POST https://api.travila.ai/api/v1/llm/gateway/create-daily-session \
-H "X-API-Key: sk_your_key_here" \
-H "X-On-Behalf-Of: user_123" \
-H "Content-Type: application/json" \
-d '{
"conversation_key": "support-chat-001"
}'
The response includes a Daily room URL and token for the client to join the voice session.