Skip to main content

Overview

The Vaani Backend API provides endpoints for building and configuring voice agents, triggering and managing calls, and connecting in-browser sessions via WebRTC. All endpoints require API key authentication via the X-API-Key header.

Authentication

All endpoints require API key authentication. Include your API key in the request header:
Keep your API key secure and never expose it in client-side code or public repositories.

Base URL

All endpoints are prefixed with /api/. The base URL is:

API Version

Current API version: 2.0.0

Agent Builder

Use these endpoints to programmatically create and configure agents via the API. All PATCH endpoints perform a partial merge — only the fields you send are updated.

Call Management