Overview
The Vatel AI API lets you manage agents, generate session tokens for calls, and run real-time voice sessions over WebSockets. Use the REST API for configuration and session auth, and the WebSocket API for streaming audio and events during a call.Base URLs
| API | Base URL |
|---|---|
| REST | https://api.vatel.ai/v1 |
| WebSocket | wss://api.vatel.ai/v1 |
Authentication
REST endpoints use Bearer token authentication with your organization API key. Send it in theAuthorization header:
REST API
Use the REST API to list agents and create session tokens for embedding or SDK-based calls.Session token
Generate a short-lived JWT for a given agent. Required for WebSocket sessions and embed auth.
List agents
List all agents for the organization associated with your Bearer token.
WebSocket API
The WebSocket API is used for real-time call sessions: the server sends session, audio, and transcript events; the client sends input audio.Connection
Single bidirectional channel. Send audio and recieve agent responses.
Quick reference
| Area | Purpose |
|---|---|
| Session token | POST /session-token — get JWT for an agent |
| List agents | GET /agents — list organization agents |
| Connection | WebSocket /connection — real-time call events and audio |

