Reference

Changelog

What changed in the API. Additive changes ship without a new version; breaking ones get one.


September 2026

New

  • Pre-recorded welcome messages — upload an audio file and have it play the instant the caller picks up, instead of the agent speaking firstMessage. Upload at POST /v1/welcome-messages, then set welcomeMessageId on an agent. The caller is heard throughout the recording and never cut off. The greeting appears in the transcript as an assistant turn tagged "source": "pre_recorded_greeting". See Welcome recording.
  • callType on call records — every record now says whether an agent ran the call (AI_CALL) or it was raw two-way audio with no AI (DIRECT_CALL). It is independent of direction: a Direct Call is an ordinary outbound call, and until now the two were indistinguishable. Records from before this change report AI_CALL.

Fixed

  • call.ended now fires when a Direct Call fails to dial. A Direct Call that couldn't reach the carrier (no capacity, or a carrier error) sent your client a call.failed frame but never sent the webhook, so the call was missing from your call records entirely. It now fires with status: "failed" and an ended_reason naming the cause, matching what an AI outbound dial failure has always sent.

June 2026

New

  • Call answer webhook — set a number's routing to Webhook and your server decides each inbound call live: accept/reject and which agent runs it. See Call answer webhook.
  • Number routing mode — every number is PLATFORM (rules + default agent) or WEBHOOK. Set it on the number.
  • recording.ready event — subscribe to get the recording URL as soon as it lands.

Changed

  • call.ended now includes the recording. It waits up to 60s for the recording URL, so the result and recording arrive together. If it isn't ready in time, recording_url is null and a separate recording.ready still fires.
  • Webhook events trimmed to three — call.ended, recording.ready, tool_call. The never-fired call.started, call.failed, call.transcript_ready, and call.recording_ready are gone; subscribing to them now returns 400.
  • The decide-per-call hook is now the call answer webhook — a standard { accept, agent_id | agent_config } contract, fired only for numbers on Webhook routing.

June 2025

New

  • Create agents over the API — POST, PATCH, DELETE on /v1/agents. Agents use one friendly config shape: pick a model and a voice.
  • Inline agents — send a whole agent in the request (agent) instead of an agentId, on calls and voice tokens. See Inline agents.
  • Decide-per-call hook — your server can pick the agent or reject a call live. See Decide per call.
  • Models & voices catalogue — browse models, hear voices, see prices: Models & voices.

Changed

  • Simpler model choice. You pick one model (it bundles the language model and voice quality); you no longer choose a separate LLM.
  • Live pricing. Each call is priced at the model's current per-minute rate.

May 2025

  • Bulk calls — POST /v1/calls/bulk and GET /v1/calls/jobs/{id}.
  • Per-call overrides — firstMessage and prompt on POST /v1/calls.
  • IP allowlisting for API keys.
  • POST /v1/calls requires fromNumber explicitly.

April 2025

  • Idempotency keys on POST /v1/calls.
  • X-RateLimit-* headers on responses.
  • GET /v1/calls/{sessionId} returns live data for in-progress calls instead of 404.

March 2025

Initial public API release — trigger calls, check status, hang up, manage webhooks, list numbers and agents.