Changelog
All notable changes to the Voicy API will be documented here.November 2026
Sort the call list by length
List Calls accepts a new optional field,sort_by: started_at
(start time, the default and the order it always had) or duration (call length). sort_order
sets the direction for either, and pagination_key pages in the chosen order. By duration,
calls that have not ended yet are not listed, calls of the same length are listed newest first,
and calls that ended with no length come last. Requests without sort_by behave exactly as before.
Collected variables in the call list, and test calls for every key
List Calls accepts a new optional filter,filter_criteria.include_vars_collected. When it is set, each call carries its
vars_collected: the caller’s answers (name, phone, reason, and whatever else your agent
collects), in the same shape Get Call returns. Before, reading them
for a page of calls meant one Get Call request per call. It is off by default and limited to
limit 200 or less (a bigger page is a 400; page with pagination_key). A call that
collected nothing has {}, and null means they could not be read at that moment.
filter_criteria.exclude_test_calls (default true; send false to list test calls) now works with any API key, as this page always described.
Before, it was honoured only for platform administrators, so a key could never list its own
account’s test calls. Calls are listed exactly as before unless you send the flag.
Allocate and release phone numbers
Allocate Phone Number takes a free number and assigns it to an agent in one step, so two requests made at the same moment can never receive the same number. Pass your ownreference (for example a user id): asking again
with it returns the same number, so a retry or a double click never uses a second one.
Numbers never used come first, then the one idle the longest, and min_idle_days keeps
back numbers used more recently than that. Release Phone Number
frees it again, only while it still carries your reference.
List Phone Numbers now also returns each number’s
allocation_ref and allocated_at (null for a number you did not allocate this way).
Billable usage per number
Get Usage returns the billable seconds and billable calls for each of your numbers over a time window, using the same rule that bills your account: completed calls only, at least 60 seconds per call, test calls never. Pass up to 100 of your numbers (agent_numbers), a window of up to 366 days (start_timestamp, start
inclusive, end exclusive, so adjacent periods never count a call twice) and, if you want
only inbound or only outbound calls, a direction. A number that is not on your account
returns zeros.
Filter calls by number
List Calls accepts two new optional filters infilter_criteria: user_numbers (the person’s number: the caller on an inbound call,
the one called on an outbound call) and agent_numbers (your own number on the call:
the number dialed on an inbound call, the caller ID on an outbound one). Both take
E.164 numbers, 1 to 100 each, and combine with every other filter. total_count
and pagination follow the filter. A value that is not E.164, or an empty list, is a
400, so a malformed filter can never return every call. Requests that don’t send
these fields are unchanged.
Phone number responses no longer include type
Assign Phone Number and
List Phone Numbers no longer return the type
field. It was not documented for your account and carried nothing you can act on.
phone_number, agent_id, agent_name and status are unchanged.
List your phone numbers
List Phone Numbers returns every number on your account, including numbers no agent answers (status: unassigned), with
last_call_at: when each number was last used, or null if it never was. Filter
with assigned=true or assigned=false. Together with
Assign Phone Number, which assigns a number
to an agent or releases it with agent_id: null, you can manage a pool of numbers
from your own system, handing out a fresh number first and the one idle the
longest after that.
Webhooks now fire for calls that never connect
An outbound call that is not answered, is busy, is declined, fails or is canceled now sends your agent’s webhooks the samecall_ended event a
connected call sends, as soon as the outcome is known. Until now such calls sent
nothing, and the only way to learn the outcome was to poll
Get Call. The event has the same shape as before:
call_status and failure_category say how and why the call ended;
transcript, summary, recording_url and duration_ms are null; there are
no vars_* fields. If your handler assumes every call_ended has a transcript
or a summary, check failure_category first: it is set only on a call that
never connected. A dial that fails before any phone rings still sends no
webhook; Dial answers it with an error. See
Calls that never connected.
October 2026
Request bodies over 1 MiB are refused
A request whose body is over 1 MiB is now refused with413 Payload Too Large
and {"status": "error", "message": "Request body too large"}; nothing is
created, changed or dialed. Every request the API accepted before is under the
limit by a wide margin (the largest agent configuration is under 50 KB), so
nothing changes for a request within it. Requests with no body (the GET
endpoints) are unaffected. See Error Handling.
Rate limits are now enforced
Each API key, and each account, now has a per-minute request limit. A request over a limit is refused with429 Too Many Requests and a Retry-After header
saying how many seconds to wait; nothing is created, changed or dialed. The
limits are 600 requests per minute per key (1,200 per account) for reading calls
and for everything else, and 60 calls placed per minute per key (120 per
account). They sit far above normal use and exist to stop runaway loops and
misused keys. See Rate Limits.
Fixed: override_agent_id on Dial is honored
POST /v1/call-dial documents override_agent_id for choosing the agent of a
call, but the endpoint ignored it: the call was answered by the phone number’s
own agent. It now uses the agent you send. If you have been sending
override_agent_id, your calls now reach the agent you named — check that it
is the one you intend. A request naming two different agents (in
override_agent_id and the undocumented agent_id) is rejected with a 400.
End call, call length and number assignment
Three settings that needed the dashboard can now be made through the API, so an agent can be created and put on a number without leaving it:POST /v1/agent-createandPATCH /v1/agent-modify/{agent_id}acceptend_call— when the agent ends the call itself (condition) and what it says first (announcement);nullturns it off — andmax_call_length_min(10,15or20).- Every Agent response now includes
max_call_length_min, and prompt-based agents includeend_call. - New
PATCH /v1/phone-number-modify/{phone_number}chooses which agent answers one of your numbers, or unassigns it.
September 2026
Webhooks on the Agent API
Agent webhooks can now be managed through the API, so an agent created programmatically no longer needs a trip to the dashboard:POST /v1/agent-createandPATCH /v1/agent-modify/{agent_id}accept awebhooksarray (name, URL, optional signing secret and custom headers). On update it replaces the agent’s list; omit it to leave webhooks unchanged.- Every Agent response now includes
webhooks. Secrets and header values are write-only and never returned — onlyhas_secret/has_headers.
webhooks behave exactly as before.
As with every other field, only prompt-based agents can be modified via the API.
See Webhooks.
June 2026
Agent API (prompt-based agents)
A minimal Agent API is now available:GET /v1/agent-list— list the agents in your accountGET /v1/agent-get/{agent_id}— get an agent and its variable contractPOST /v1/agent-create— create a prompt-based agent (deployed immediately)PATCH /v1/agent-modify/{agent_id}— update a prompt-based agent
agent_id is what
you pass as override_agent_id on Dial.
call-extract removed from the public API
Retrying summary/variable extraction is now a dashboard-only operation. The
POST /v1/call-extract/{call_id} endpoint has been removed and returns 404.
Why: A retry re-runs the full post-call orchestration — it re-fires
notification emails, webhooks, and campaign advancement as side effects — which
is not safe as a self-serve API operation.
Action required: if you were calling this endpoint with an API key, trigger
re-extraction from the dashboard’s call view instead, or contact support.
count-calls removed from the documentation
The POST /v1/count-calls endpoint was documented but never deployed (it
returned 404). It has been removed from the reference. Use the total_count
field already returned by POST /v1/call-list — it reflects the full match
count for your filter_criteria, independent of limit/pagination.
Transcript shape clarified
The publictranscript[] returned by GET /v1/call-get/{call_id} is documented
as exactly { role, content, timestamp_ms }. The role enum is agent,
caller, or system. Internal per-turn fields (latency breakdowns, caller
gender) and flow-agent function_invocation/function_result payloads are not
part of the public API and are not returned to API-key callers. This is a
documentation correction — API-key responses already behaved this way; no
response payloads changed.
May 2026
call-delete removed from the public API
Call deletion has been moved to a dashboard-only operation. The
DELETE /v1/call-delete/{call_id} and POST /v1/call-delete endpoints
no longer exist on api.voicy.co and now return 404.
Why: Deleting a call is now treated as a billing write-off — deleted
calls are excluded from the account’s consumed-minutes balance — so the
action has been restricted to internal/global-admin use via the
dashboard.
Action required: if you were calling these endpoints with an API
key, contact support to delete calls on your behalf.
April 2026
Function-call visibility on transcripts
Thetranscript array returned by GET /v1/call-get/{id} now exposes the HTTP
function invocations that flow-agent function nodes make during a call.
Additive changes — no field removals or behavior changes on existing fields:
- New role
systemontranscript[].role. Previouslyrolewas alwaysagentorcaller; the enum now also includessystemfor flow-agent automation events. The vast majority of consumers (which iterate byrole == 'agent' || role == 'caller') will see no change beyond a few extra entries they silently ignore. - New optional field
transcript[].function_invocationonsystementries — carries the request method, URL, headers (sensitive values redacted), and request body captured just before the HTTP call dispatches. - New optional field
transcript[].function_resultonsystementries — carries the status code, response body, response headers, extracted variables, duration, and any classified error (timeout,non_2xx,ssrf_blocked,bad_response_json,type_validation_failed,invalid_url,network).
system turns (an invocation
and a result), correlated by a shared invocation_id. URL basic-auth
credentials, known-sensitive query parameters (api_key, token,
access_token, etc.), and sensitive request/response headers
(Authorization, Cookie, Set-Cookie, and anything matching
token|secret|password|api_key|bearer) are redacted at capture time, so the
persisted transcript is safe to share.
Action required: if your code uses an exhaustive switch on the role
field (case 'agent': ... case 'caller': ... default: throw), add handling
for 'system' or ignore it.
January 2026
v1.0 Release
Initial public release of the Voicy API.
New Features
- Phone Call API: Create, retrieve, list, update, and delete phone calls
- API Key Authentication: Secure API access with account-scoped keys
- Dual Authentication: Support for both API keys and JWT tokens
- Dynamic Variables: Inject custom data into agent prompts
- Call Metadata: Attach custom metadata to calls for CRM integration
- Transcript Access: Full transcript available via API (text and structured)
- Recording URLs: Signed URLs for call recordings
Endpoints
Coming Soon
Planned Features
- Webhooks: Real-time notifications for call events
- Web Call API: Browser-based voice calls via WebRTC
- Agent API: Manage agents programmatically
- Phone Number API: Manage phone number assignments
- Analytics API: Call statistics and usage metrics
Deprecation Policy
When we deprecate API features:- Announcements made at least 6 months in advance
- Deprecated features marked in documentation
- Migration guides provided
- Old versions remain functional during deprecation period
Subscribe to our status page for real-time updates on API availability.