Platform · API & developer tools

Plug Vocily AI into your stack like any modern API.

A clean REST API with a published OpenAPI spec, HMAC-signed webhooks, runtime variables for per-call context, API tools the agent can invoke mid-conversation, and a memory API to read or erase what an agent remembers about each caller.

Problem · Solution

The problem today

A voice agent that can talk but can't act is a glorified IVR. Customers ask for their order details, the agent says 'let me check' — and now there's a human on a copy-paste loop between two windows. Real business conversations need real backend access: pull the order, confirm the address, write the outcome, trigger the workflow. Most teams hesitate to give an LLM credentialed API calls because it sounds dangerous. The fix isn't to avoid it — it's to make it structured, audited, and scoped.

How Vocily AI handles it

  • REST API + published OpenAPI spec

    Place calls, read call records and recordings, manage agents, versions and knowledge bases — all via REST. The OpenAPI spec is published, so you can generate a typed client in any language.

  • HMAC-signed webhooks

    Push call.started, call.transfer.status, call.ended, call.analysis.completed and call.processing.completed to your backend, configured per agent. Every delivery is HMAC-signed and retried up to three times.

  • API tools — pre, on, and post call

    Define HTTP tools the LLM can call before, during, or after a call. Three execution phases. Each tool declares a typed input schema; the model fills it from the conversation, validation runs before the call leaves Vocily AI.

  • Runtime variables per call

    Inject dynamic context per call via API — {{caller_name}}, {{order_id}}, anything. Available as template variables in prompts and tool configs.

  • Memory API

    Agents can remember each caller across phone calls and WhatsApp. List, export or delete what an agent remembers through the API, so an erasure request takes effect immediately.

What's in it

The developer platform in detail.

Everything you'd want from a voice API surfaced as clean, documented primitives. One OpenAPI spec drives the reference docs.

01

REST API

Core endpoints for the things you'll do most.

Calls
POST /v1/calls · GET /v1/calls · GET /v1/calls/{id} · GET /v1/calls/{id}/recording
Agents
Create agents, save drafts, publish versions and make one live via /v1/agents.
Knowledge
Create knowledge bases, upload and reindex documents via /v1/knowledge-bases.
Chats
GET /v1/chats · GET /v1/chats/{id} — web and WhatsApp conversations.

02

Webhooks

Push call-lifecycle events into your backend.

Events
call.started · call.transfer.status · call.ended · call.analysis.completed · call.processing.completed
Signing
Timestamped HMAC signature in the Vocily-Signature header, so your backend can verify origin.
Reliability
Up to three attempts (0s → 2m → 15m), Retry-After honoured; dedupe on the stable event_id.
Configuration
Per agent, in the dashboard.

03

OpenAPI & docs

One spec behind the reference.

Spec
Published OpenAPI document; generate a typed client with any OpenAPI generator.
Reference site
docs.vocily.ai, generated from the same spec.
Versioning
Dated API versions, with every breaking or corrective change listed in the changelog.

04

API tools (in-call)

How the LLM calls your backend mid-conversation.

Phases
Pre-call (set context before pickup), on-call (in-conversation), post-call (after hangup).
Method + URL
HTTP verb + endpoint + headers (workspace-scoped API keys supported).
Input schema
Typed fields the model fills from the conversation; validated before the call leaves.
Response mapping
Map JSON response into named values the agent can quote back to the caller.
Audit trail
Every invocation logged on the execution record with input, output, latency, status.

05

Runtime variables

Per-call context that flows into the prompt and tools.

Shape
Key/value pairs sent at call placement.
Usage
Reference as {{variable_name}} inside the agent prompt, greeting, or tool configs.
Built-in
{{caller_no}} auto-populates for inbound calls.
Examples
{{caller_name}} for the greeting, {{order_id}} for an OMS tool lookup, {{due_amount}} for a reminder script.

06

Calendar tools + memory

Two notable capabilities.

Calendar tools
Connect an approved scheduling workflow to check availability and book, reschedule, or cancel inside the call.
Memory
List remembered callers, export them, delete a single fact, or flush an agent's memory via /v1/agents/{id}/memory.
Memory channels
Phone calls and WhatsApp feed memory; web widget chats do not.

A safe call to your backend

The model picks the tool, Vocily AI handles the call.

Tools are declared once on a workspace. Agents that need them get scoped access. The execution record stores every invocation, input, and result.

Tool registry
Per-agent scoping
Execution audit trail

Tool call

crm.lookup_policy

Looks up a policy in the connected CRM.

Policy IDPOL-883120

Result

142 ms
HolderAnita Verma
Renewal due21 Jun 2026
Amount₹12,480

Common questions

What teams ask before they switch.

Each tool declares a typed input schema. The model fills the inputs from the conversation, the platform validates them against the schema, then makes the call. Misshaped calls are rejected before they leave Vocily AI.