API overview
The Developer API controls supported VaniAgent resources programmatically.
Base URL: https://api.vaniagent.com
Authentication: X-API-Key
Schema: /openapi-public.yaml
The published schema is curated from the deployed FastAPI contract. Dashboard, admin, OAuth, provider credential, and private integration routes are excluded.
Resources
Section titled “Resources” Agents
Create and configure conversation agents.
Calls
Initiate and inspect direct calls; bulk initiation is also supported.
Contacts
Upsert Contacts individually or in batches of up to 100.
Campaigns
Create uploaded-audience campaigns and control their lifecycle.
Knowledge
Maintain text knowledge sources used by agents.
Web widget
Create short-lived voice-widget sessions.
Conventions
Section titled “Conventions”- IDs are opaque strings; never derive meaning from their format.
- Timestamps are returned in the API’s documented ISO format.
- List endpoints may evolve with pagination or filters; preserve unknown fields.
- A successful request does not guarantee a phone provider later connects the call.
- Use idempotent application logic around contacts and webhook processing.