# Vatel AI Documentation - [Vatel AI](https://docs.vatel.ai/index.md) - [AI Receptionist](https://docs.vatel.ai/getting-started/ai-receptionist.md): Deploy your first AI phone receptionist agent - [Configuration Overview](https://docs.vatel.ai/configure/overview.md): Fundamental concepts for building and managing AI agents - [Prompt engineering](https://docs.vatel.ai/configure/prompting.md): Writing effective prompts for your agents - [Agent Editor Overview](https://docs.vatel.ai/configure/agent-editor.md): Build your agent's conversation flow and tools - [Graph Node Types](https://docs.vatel.ai/configure/nodes.md): Reference for all node types in the agent editor - [Tools Overview](https://docs.vatel.ai/configure/tools/overview.md): Function nodes, system tools, and client-defined tools - [Client tools](https://docs.vatel.ai/configure/tools/client-tools.md): Tools executed by your client via the API. How they differ from function-node tools and how to use them over the WebSocket and SDKs. - [Function Nodes](https://docs.vatel.ai/configure/tools/function-nodes.md): Nodes in the agent editor that become tools - [Logic Flows](https://docs.vatel.ai/configure/capabilities/logic-flows.md): Build reusable tools and branching logic your agent can invoke during a call - [Pre-call and Post-call Flows](https://docs.vatel.ai/configure/capabilities/start-end-flows.md): Run logic before the agent connects and after the caller hangs up - [Webhooks](https://docs.vatel.ai/configure/capabilities/webhooks.md): Call external APIs and HTTP endpoints from your agent - [Sending Messages](https://docs.vatel.ai/configure/capabilities/sending-messages.md): Send SMS messages to one or more numbers during a call - [Conditions](https://docs.vatel.ai/configure/capabilities/conditions.md): Branch your flow by comparing two values - [Categorizing](https://docs.vatel.ai/configure/capabilities/categorizing.md): Let the model pick a branch from a list of categories - [Sub Flows](https://docs.vatel.ai/configure/capabilities/sub-flows.md): Run another flow as a reusable subroutine - [Merging](https://docs.vatel.ai/configure/capabilities/merging.md): Join parallel branches back into a single path - [Multichannel](https://docs.vatel.ai/configure/capabilities/multichannel.md): Open an SMS channel with the caller so the agent can see their replies - [SIP Messaging](https://docs.vatel.ai/configure/capabilities/sip-messaging.md): Send SIP messages through your trunks - [Dispatching](https://docs.vatel.ai/configure/capabilities/dispatching.md): Ring an on-call list to connect callers with a live person - [DTMF Tones](https://docs.vatel.ai/configure/capabilities/dtmf.md): Send keypad tones on outbound calls to navigate IVR menus - [Transcript Enhancement](https://docs.vatel.ai/configure/capabilities/transcript-enhancement.md): Correct the live transcript after the call with a post-call model - [Transforming Data](https://docs.vatel.ai/configure/capabilities/transforming-data.md): Build JSON objects from fields and variables - [Setting Variables](https://docs.vatel.ai/configure/capabilities/setting-variables.md): Write named values for later steps in the call - [Extracting Data](https://docs.vatel.ai/configure/capabilities/extracting-data.md): Pull typed fields from the transcript into variables - [Tagging](https://docs.vatel.ai/configure/capabilities/tagging.md): Attach tags to calls for reporting and filtering - [Variables](https://docs.vatel.ai/configure/capabilities/variables.md): How variables work across your agent's flows - [Async Execution](https://docs.vatel.ai/configure/capabilities/async-execution.md): Run webhooks and integrations in the background without pausing the conversation - [Answering Machine Detection (AMD)](https://docs.vatel.ai/configure/capabilities/amd.md): Detect humans, IVRs, and voicemail on outbound calls - [Version Control](https://docs.vatel.ai/configure/version-control.md): Drafts, publishing, and activating versions - [Voices](https://docs.vatel.ai/configure/voices.md): Choose the right voice for your agent - [Telephony](https://docs.vatel.ai/configure/telephony.md): Inbound number, DTMF transfer map, SIP assignment, and transfer behavior - [Outbound](https://docs.vatel.ai/configure/outbound.md): First message, answering machine detection, and calling lists - [Analysis](https://docs.vatel.ai/configure/analysis.md): Turn on the post-call summary variable - [Testing](https://docs.vatel.ai/configure/testing.md): Connect Cekura to this agent with a secret and a chat WebSocket - [Widget](https://docs.vatel.ai/configure/widget.md): Embed the agent on a site for voice, chat, or both - [Data sources](https://docs.vatel.ai/configure/datasources.md): Attach organization documents to an agent, in the prompt or through RAG - [In-console assistant](https://docs.vatel.ai/configure/assistant.md): Change the agent by chatting from the button in the bottom right - [Deploy Overview](https://docs.vatel.ai/deploy/overview.md): Connect your agents to telephony and integrate with your stack using SDKs - [Twilio](https://docs.vatel.ai/integrations/twilio.md): Voice and SMS for your agents - [SIP Trunking](https://docs.vatel.ai/deploy/telephony/sip.md): Connect your agents via SIP for maximum flexibility and carrier choice - [SDK Overview](https://docs.vatel.ai/deploy/sdk/overview.md): Integrate Vatel voice agents into your applications with official SDKs for Python, JavaScript, and Go. - [Python SDK](https://docs.vatel.ai/deploy/sdk/python.md): Use the Vatel REST and WebSocket APIs from Python. Run real-time voice sessions and access the API with async support. - [JavaScript / TypeScript SDK](https://docs.vatel.ai/deploy/sdk/javascript.md): Connect to Vatel voice agents from JavaScript or TypeScript. Run real-time voice sessions and access the API in Node.js or the browser. - [Go SDK](https://docs.vatel.ai/deploy/sdk/go.md): Use the Vatel REST and WebSocket APIs from Go. Run real-time voice sessions and access the API with a single client. - [Next.js](https://docs.vatel.ai/deploy/examples/nextjs.md): Run a Session WebSocket demo in Next.js with server-side session tokens and real-time voice. - [Full-stack Next.js demo](https://docs.vatel.ai/deploy/examples/vatel-full-stack.md): Clone-ready Next.js app: manage agents, start live calls, browse history, and play recordings with the official JavaScript SDK. - [WebRTC (browser)](https://docs.vatel.ai/deploy/examples/webrtc-browser.md): Use @vatel/sdk WebRTCSession in the browser with webrtc_token, url, room, and identity from POST /v1/session-token. - [Python SDK Example](https://docs.vatel.ai/deploy/examples/python-cli.md): Run a full-duplex voice session from the command line with the Python SDK: microphone to agent, agent audio to speaker. - [Go SDK Example](https://docs.vatel.ai/deploy/examples/golang-cli.md): Run a full-duplex voice session from the command line with the Go SDK: microphone to agent, agent audio to speaker and optional PCM file. - [Call Analytics](https://docs.vatel.ai/monitor/call-analytics.md): Call history, transcription, recording, extracted variables and much more. - [Overview](https://docs.vatel.ai/monitor/testing/cekura/overview.md): What Cekura is, how it fits Vatel testing, and links to chat and SIP guides. - [Chat Bot](https://docs.vatel.ai/monitor/testing/cekura/chat-testing.md): Connect Cekura to a Vatel agent over WebSocket to run chat evaluations. - [SIP Calls](https://docs.vatel.ai/monitor/testing/cekura/sip-testing.md): Point Cekura at a Vatel SIP trunk so it can place evaluation calls to your agent. - [Integrations Overview](https://docs.vatel.ai/integrations/overview.md): Connect Vatel AI agents with external services - [Xero Accounting API](https://docs.vatel.ai/integrations/xero.md): Accounting and bookkeeping for your agents - [Plaid API](https://docs.vatel.ai/integrations/plaid.md): Banking and financial data connectivity - [n8n Public API](https://docs.vatel.ai/integrations/n8n.md): Workflow automation and integrations - [Clerk](https://docs.vatel.ai/integrations/clerk.md): User authentication and management for your app - [MailerSend](https://docs.vatel.ai/integrations/email/mailersend.md): Send emails from your agents - [Resend](https://docs.vatel.ai/integrations/resend.md): Send emails from your agents - [Slack API](https://docs.vatel.ai/integrations/slack.md): Slack messaging and notifications for your agents - [VoiceMeUp](https://docs.vatel.ai/integrations/voicemeup.md): Send SMS and email through a VoiceMeUp account - [API SMTP2GO - Envoi de courriel](https://docs.vatel.ai/integrations/smtp2go.md): Send email through the SMTP2GO API - [WhatsApp Cloud API](https://docs.vatel.ai/integrations/whatsapp-cloud.md): WhatsApp messaging for your agents - [Mailchimp API](https://docs.vatel.ai/integrations/mailchimp.md): Email marketing and audiences - [GoHighLevel](https://docs.vatel.ai/integrations/gohighlevel.md): CRM and marketing for agencies and local businesses - [Activix CRM](https://docs.vatel.ai/integrations/activix-crm.md): Dealership CRM for automotive sales - [HubSpot CRM API](https://docs.vatel.ai/integrations/hubspot-crm.md): HubSpot CRM contacts, deals, and companies - [Salesforce APIs](https://docs.vatel.ai/integrations/salesforce.md): Connect Salesforce to your Vatel agents using JWT Bearer authentication - [Pipedrive v2 API](https://docs.vatel.ai/integrations/pipedrive-v2.md): CRM and sales pipeline management (v2) - [Applied Epic API](https://docs.vatel.ai/integrations/applied-epic.md): Insurance agency management and CRM - [Fortellis CRM](https://docs.vatel.ai/integrations/fortellis-crm.md): Automotive industry CRM and data - [Zendesk](https://docs.vatel.ai/integrations/zendesk.md): Customer support platform - [ConnectWise](https://docs.vatel.ai/integrations/connectwise.md): PSA and service desk for MSPs - [Intercom API](https://docs.vatel.ai/integrations/intercom.md): Customer messaging and support - [Freshdesk](https://docs.vatel.ai/integrations/freshdesk.md): Help desk and customer support - [GitHub v3 API](https://docs.vatel.ai/integrations/github.md): Pull repos and development data into your agents - [GitLab v4 API](https://docs.vatel.ai/integrations/gitlab.md): Repository and DevOps workflow integration - [QuickBooks Online API](https://docs.vatel.ai/integrations/quickbooks-online.md): Accounting and financial data for your agents - [Cliniko](https://docs.vatel.ai/integrations/cliniko.md): Connect your Cliniko account - [Jane](https://docs.vatel.ai/integrations/jane.md): Connect your Jane account - [Phorest](https://docs.vatel.ai/integrations/phorest.md): Salon, spa, and clinic software - [Open Dental](https://docs.vatel.ai/integrations/open-dental.md): Practice management software for dental offices - [EnvisionCloud](https://docs.vatel.ai/integrations/envisioncloud.md): Industry-specific cloud platform - [Workiz](https://docs.vatel.ai/integrations/workiz.md): Connect your Workiz account - [ServiceMinder](https://docs.vatel.ai/integrations/serviceminder.md): Connect your ServiceMinder account - [Square](https://docs.vatel.ai/integrations/square.md): Payments and point of sale for restaurants and retailers - [PayPal API](https://docs.vatel.ai/integrations/paypal.md): Payments and transactions for your agents - [Stripe](https://docs.vatel.ai/integrations/stripe.md): Payments and billing for your agents - [ClickUp v2 API](https://docs.vatel.ai/integrations/clickup.md): Project management and tasks for your agents - [Notion API](https://docs.vatel.ai/integrations/notion.md): Notes, databases, and wikis for your agents - [Asana API](https://docs.vatel.ai/integrations/asana.md): Project and task management for your agents - [Primmo](https://docs.vatel.ai/integrations/primmo.md): Lease management for tenants, income, and leased spaces - [Apaleo](https://docs.vatel.ai/integrations/apaleo.md): Hospitality property management - [Acuity Scheduling](https://docs.vatel.ai/integrations/acuity.md): Online appointment scheduling - [Cal.com API](https://docs.vatel.ai/integrations/cal-com.md): Scheduling and calendar bookings for your agents - [Calendly API](https://docs.vatel.ai/integrations/calendly.md): Scheduling and appointment booking - [Jas Connect V2](https://docs.vatel.ai/integrations/jas-connect.md): Jas Connect integration for business communications - [OpenPhone Public API](https://docs.vatel.ai/integrations/openphone.md): Business phone and calling - [Booking.com Demand API](https://docs.vatel.ai/integrations/booking-com.md): Hotel and accommodation bookings - [Introduction](https://docs.vatel.ai/api-reference/introduction.md): Overview of the Vatel AI REST and WebSocket APIs for building and managing voice agents. - [Region pinning](https://docs.vatel.ai/api-reference/region-pinning.md): Pin API requests to a specific Vatel region with the x-vatel-region header - [Get current organization](https://docs.vatel.ai/api-reference/organization/get-organization.md): Resolve id and name for the organization that owns the API key. - [List agents](https://docs.vatel.ai/api-reference/agents/list-agents.md): All agents owned by the organization for the current API key. - [Create agent](https://docs.vatel.ai/api-reference/agents/create-agent.md): Creates a new agent; optional fields override server defaults. - [Get agent](https://docs.vatel.ai/api-reference/agents/get-agent.md) - [Update agent](https://docs.vatel.ai/api-reference/agents/update-agent.md): Name, status, and phone number are stored on the agent. Configuration fields are written to the default agent version. Use `PATCH /v1/agents/{id}/versions/{versionId}` with the same body to update a different version. - [Delete agent](https://docs.vatel.ai/api-reference/agents/delete-agent.md) - [List agent versions](https://docs.vatel.ai/api-reference/agents/list-agent-versions.md): Configuration snapshots for this agent. `default` is true for the version used by `PATCH /v1/agents/{id}`. - [Get agent version](https://docs.vatel.ai/api-reference/agents/get-agent-version.md) - [Update agent version](https://docs.vatel.ai/api-reference/agents/update-agent-version.md): Same body as `PATCH /v1/agents/{id}`. Configuration fields are written to this version. Name, status, and phone number still update the agent. - [Delete agent version](https://docs.vatel.ai/api-reference/agents/delete-agent-version.md): Deletes this agent version. Returns 409 when the version is the agent's default. - [List graph versions](https://docs.vatel.ai/api-reference/agents/list-graph-versions.md): Conversation-flow snapshots for this agent. - [Get graph version with nodes](https://docs.vatel.ai/api-reference/agents/get-graph-version.md) - [Publish graph version](https://docs.vatel.ai/api-reference/agents/publish-graph-version.md): Publish this graph version and set it as the active graph version. Returns 409 if the version was already published. - [Duplicate agent](https://docs.vatel.ai/api-reference/agents/duplicate-agent.md): Copy an agent and the given graph version into a new agent. Phone number and active graph version are cleared. Set `publish` to make the copied graph version active. - [Dial outbound (Twilio or SIP trunk)](https://docs.vatel.ai/api-reference/agents/dial.md): Call a phone number with this agent. Provide `number` or `destination` (same meaning). Optionally use a SIP trunk, override the opening message or prompt, pass variables in the request body, and set `callbackUrl` to receive status webhooks. - [List documents](https://docs.vatel.ai/api-reference/documents/list-documents.md): Documents owned by the organization, newest first. When using the internal server API key, send `organization_id`. Embeddings are not included. - [Create and index a document](https://docs.vatel.ai/api-reference/documents/create-document.md): Ingest text, a URL, or a PDF/TXT file up to 20 MB. Text is split, embedded, and stored as chunks. A URL is fetched and summarized before indexing. A PDF is stored and its extracted text is indexed. The organization knowledge base is limited to 10 MB of chunk content. When using the internal server A… - [Get a document](https://docs.vatel.ai/api-reference/documents/get-document.md): Returns the document when it belongs to the caller's organization. A missing document and a document in another organization both return 404. - [Delete a document](https://docs.vatel.ai/api-reference/documents/delete-document.md): Deletes the document, its chunks, and the stored PDF when one exists. - [List chunks](https://docs.vatel.ai/api-reference/documents/list-document-chunks.md): Chunks for the document, ordered by `chunk_idx`. The document must belong to the caller's organization. - [Add a chunk](https://docs.vatel.ai/api-reference/documents/create-document-chunk.md): Appends one chunk, embeds it, and assigns the next `chunk_idx`. - [Update a chunk](https://docs.vatel.ai/api-reference/documents/update-document-chunk.md): Replaces the chunk content and recomputes its embedding. `chunkId` is the chunk UUID. The chunk must belong to the document in the path, and that document must belong to the caller's organization. - [Delete a chunk](https://docs.vatel.ai/api-reference/documents/delete-document-chunk.md): Deletes the chunk when it belongs to the document in the path and that document belongs to the caller's organization. Remaining chunks keep their `chunk_idx`. - [Generate session token](https://docs.vatel.ai/api-reference/session/session-token.md): Get credentials to start a voice or chat session with an agent. Specify `agent_id` and optionally the agent version, transport (`websocket` or `webrtc`), opening message, prompt, chat access, caller ID, and custom variables. - [Connection](https://docs.vatel.ai/api-reference/session/connection.md): Bidirectional voice agent session. Connect with `?token={jwt}` where the JWT is obtained from `POST /v1/session-token`. - [List calls](https://docs.vatel.ai/api-reference/calls/list-calls.md): Paginated calls for the organization tied to your API key. Filter with optional query parameters. When using the internal server API key (`Authorization: Bearer` or `API-KEY` matching server config), you must send `organization_id` as a query parameter (UUID). - [Get call](https://docs.vatel.ai/api-reference/calls/get-call.md): Returns one call by id if it belongs to an organization you can access. - [Download call recording](https://docs.vatel.ai/api-reference/calls/download-call-recording.md): Streams the WAV recording for the call (`{id}.wav` in storage). Response body is raw audio with `Content-Disposition: attachment`. Errors are JSON. - [Generate eavesdrop session token](https://docs.vatel.ai/api-reference/calls/eavesdrop-token.md): Issue a short-lived JWT scoped to eavesdrop on one live call. Use the token as `Authorization: Bearer ` or `?token=` when opening `GET /v1/eavesdrop`. The call must be live (`connected`, `started`, or `in_progress`). Token lifetime is 15 minutes. - [Generate call view token](https://docs.vatel.ai/api-reference/calls/view-token.md): Issue a short-lived JWT scoped to view one call. Lifetime is `ttl_seconds` from the request body, or 15 minutes if omitted. - [Eavesdrop](https://docs.vatel.ai/api-reference/calls/eavesdrop.md): Listen to a live call and send supervisor commands. Connect with the JWT from `POST /v1/calls/{callId}/eavesdrop-token` via `Authorization: Bearer {token}` or `?token={token}`. The call id is embedded in the token. - [List usage logs](https://docs.vatel.ai/api-reference/usage-logs/list-usage-logs.md): Paginated usage logs for the organization tied to your API key. Each row is one provider charge (LLM, speech, filter, or platform). `cost` is the marked-up amount. Filter with optional query parameters. When using the internal server API key (`Authorization: Bearer` or `API-KEY` matching server conf… - [List SIP trunks](https://docs.vatel.ai/api-reference/sip-trunks/list-sip-trunks.md) - [Create SIP trunk](https://docs.vatel.ai/api-reference/sip-trunks/create-sip-trunk.md) - [Get SIP trunk](https://docs.vatel.ai/api-reference/sip-trunks/get-sip-trunk.md) - [Update SIP trunk](https://docs.vatel.ai/api-reference/sip-trunks/update-sip-trunk.md) - [Delete SIP trunk](https://docs.vatel.ai/api-reference/sip-trunks/delete-sip-trunk.md) - [List agent assignments on SIP trunk](https://docs.vatel.ai/api-reference/sip-trunks/list-sip-trunk-agent-assignments.md) - [Create agent assignment on SIP trunk](https://docs.vatel.ai/api-reference/sip-trunks/create-sip-trunk-agent-assignment.md): Maps an org agent to this trunk. Use `number` when inbound auth is digest (unique on this trunk). Use `alternate_number` when inbound auth is ACL (globally unique alternate dial target). Same rules as the dashboard integrations UI. - [Get SIP trunk assignment](https://docs.vatel.ai/api-reference/sip-trunks/get-sip-trunk-agent-assignment.md) - [Update SIP trunk assignment](https://docs.vatel.ai/api-reference/sip-trunks/update-sip-trunk-agent-assignment.md): Patch `number` and/or `alternate_number`. Send `null` to clear a field. Omitted keys are left unchanged. Assignment id is globally unique. - [Delete SIP trunk assignment](https://docs.vatel.ai/api-reference/sip-trunks/delete-sip-trunk-agent-assignment.md): Assignment id is globally unique. - [List agent-allowed LLM model strings](https://docs.vatel.ai/api-reference/llms/list-llms.md): Returns sorted identifiers you may use for an agent's primary and fallback models. Values are `provider/model` strings. - [List aggregated TTS voices](https://docs.vatel.ai/api-reference/voices/list-voices.md): Combined catalog of voices you can reference in agent `voice_settings`. The list may vary by environment and provider availability. - [List imported Twilio numbers](https://docs.vatel.ai/api-reference/twilio/list-twilio-numbers.md) - [Import Twilio phone number](https://docs.vatel.ai/api-reference/twilio/import-twilio-number.md) - [Update Twilio number label](https://docs.vatel.ai/api-reference/twilio/update-twilio-number-label.md) ## OpenAPI Specs - [openapi](/openapi.json) ## AsyncAPI Specs - [asyncapi](/asyncapi.json) ## Optional - [Home](https://vatel.ai) - [Console](https://console.vatel.ai) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.