What AI outbound calling is, and what the dial request does
An automated call system is software that places or answers phone calls without a person starting each one, and an AI outbound calling agent adds a voice agent that holds the conversation. On APIFleet the agent is an assistant, the caller ID is a number bound to your workspace, and each POST /calls/outbound request places one call.
The order of work matters more than the API. Check consent, the do-not-call registry and the callee's local time first, dial second, and reconcile through call logs and webhooks third. The dial request performs none of the first three checks, so they have to run in your own code before you call it.
The table below separates what you build from what the request does. For the inbound counterpart, where the caller dials you, read the customer service guide.
| Concern | You build before the request | POST /calls/outbound does |
|---|---|---|
| Consent | Collect the called party's consent, keep a record per number, and skip numbers without it | Does not check consent and keeps no consent record |
| Do-not-call and opt-outs | Check the National Do Not Call Registry and your own opt-out list | Does not check do-not-call status and keeps no list |
| Calling hours | Work out the callee's local time and refuse to dial outside the permitted hours | Does not check calling hours |
| Frequency and duplicates | Track every attempt per number and reconcile before any re-dial | Does not check call frequency or whether a number was already called |
| Campaigns and retries | Own the list, the schedule and the retry rules | Places one call per request, with no campaign dialer or retry queue |
| Assistant, number, providers, funds | Create the assistant, bind your number and fund the wallet | Checks that the assistant exists, that from is bound to your workspace, that the carrier and AI providers are available and that the wallet is funded |
| The call itself | Handle the 201 body, the webhooks and the call logs | Asks the carrier to dial and starts the assistant when the callee answers |
How an AI outbound call works on APIFleet
You send assistant_id, from and to. The API checks the assistant and the from number, confirms that the providers and funds are in place, and then asks the carrier to dial. The 201 response comes back once the carrier has accepted that request.
On Telnyx and Twilio the dial request carries a callback URL, and the carrier fetches it only after the callee answers. That fetch starts the media stream between the call and the assistant, and, when route authentication is on, the URL carries a token signed for that one call rather than a shared secret.
Voximplant and VoIPCloud differ. Voximplant starts a VoxEngine scenario that you write, which reads the call data, dials with callPSTN and bridges the audio to the assistant. VoIPCloud is click-to-call: it rings your user_number first and then dials the destination, so the AI is not the calling leg unless that extension forwards to a number bound to the assistant.
| Carrier | How the dial starts | Is the AI the calling leg? |
|---|---|---|
| Telnyx | A TeXML call request with the from number, the to number and a callback URL | Yes |
| Twilio | A REST Calls request with the same three values | Yes |
| Voximplant | A management API call that starts your VoxEngine scenario | Yes, through your scenario |
| VoIPCloud | A click-to-call request that rings user_number first | No, unless user_number forwards to a number bound to the assistant |
The pre-dial gate: consent, do-not-call and hours for an AI cold caller
This section summarizes United States rules as of 19 November 2026, using the eCFR text dated 17 November 2026. It is not legal advice, state and non-US rules differ, and nothing here means a call made through APIFleet meets any rule. The eCFR page links an amendment published at 91 FR 67219 on 26 October 2026, so read the current text before you rely on a clause.
The FCC's declaratory ruling FCC 24-17, adopted on 2 February 2024 in CG Docket No. 23-362, confirms that the TCPA's restrictions on an artificial or prerecorded voice cover current AI technologies that generate human voices. Calls that use them therefore require the prior express consent of the called party, absent an emergency purpose or exemption.
The ruling adds that such calls must give identification and disclosure information for the entity that initiates them, and that telemarketing messages must offer opt-out methods. It says these requirements apply to any AI technology that initiates an outbound call using an artificial or prerecorded voice to consumers.
An AI cold caller that sells to people who did not ask to hear from you is AI telemarketing, and it sits at the strict end of these rules. A call that includes or introduces an advertisement or constitutes telemarketing needs prior express written consent, with the exceptions the rules list.
APIFleet keeps no consent record or do-not-call list, so the gate and the opt-out record belong in your system. An HTTP tool lets the assistant write an opt-out to that system before it ends the call, and you should test that path before launch.
| Source | What it says | What to build |
|---|---|---|
| FCC 24-17, paragraphs 2 and 9 | An AI-generated voice counts as an artificial voice. Calls need the called party's prior express consent absent an emergency purpose or exemption, and carry identification, disclosure and, for telemarketing, opt-out requirements | Treat every AI outbound call as an artificial-voice call |
| 47 CFR 64.1200(a)(1) | A call with an artificial or prerecorded voice to the lines the rule lists, which include cellular numbers, needs the called party's prior express consent unless it is made for emergency purposes | Keep a consent record per number, with the date and the wording |
| 47 CFR 64.1200(a)(2) and (a)(3) | A call that includes or introduces an advertisement or constitutes telemarketing needs prior express written consent, both to the lines in (a)(1), including cellular numbers, and to residential lines, with the exceptions the rules list | Record that the consent was written and what it covered |
| 47 CFR 64.1200(b)(1) and (b)(2) | The message states at its beginning the identity of the business responsible, under the name it is registered under, and gives a callback number during or after it | Put the registered name in the assistant's first words and give a callback number |
| 47 CFR 64.1200(b)(3) | Telemarketing and advertisement messages must offer an automated opt-out within 2 seconds of the identification, and a message left on voicemail must give a toll-free number that connects to that opt-out | Build and test the opt-out path yourself |
| 47 CFR 64.1200(c)(1) and (c)(2) | No telephone solicitation to a residential subscriber before 8 a.m. or after 9 p.m. local time at the called party's location, or to a number on the National Do Not Call Registry | Compute the callee's local time and check the registry and your own list before every dial |
Place the call with one REST request
Send one POST /calls/outbound with your workspace API key as a Bearer token. The body needs assistant_id, from and to, where from and to are E.164 numbers: a plus sign, a nonzero digit and 6 to 14 more digits. Only VoIPCloud uses user_number, and it requires it.
- Bind a number you own with PUT /numbers/{number}, because from must be one of your bound numbers, and the carrier that number is bound to is the one that dials.
- Run your own gate: consent on file, the number absent from the registry and your opt-out list, and the callee's local time inside the permitted hours. Stop here if any check fails.
- Place the call: curl -X POST https://apifleet.dev/calls/outbound -H "Authorization: Bearer $APIFLEET_API_KEY" -H "Content-Type: application/json" -d '{"assistant_id":"ASSISTANT_ID","from":"+13125550100","to":"+13125550101"}'
- Read the 201 body, which includes status initiated, the provider, call_sid and call_control_id, and store the identifiers next to your own record of the attempt.
- Learn the outcome from the call.started and call.ended webhooks or from GET /calls, because the 201 says only that the carrier accepted the request.
The same call through MCP, and testing it safely
The MCP tool create_outbound_call takes the same fields inside data and also requires confirm set to true, which is a caller acknowledgment, not a replacement for the user's approval of the recipient, the caller number and the expected usage. Its description states that there is no automatic retry or universal idempotency guarantee.
Use numbers you control for the first test calls. The test guide covers silence, interruptions and unclear speech, and it is worth running before you dial anyone outside your team.
Who speaks first on an outbound call, and what it means for the opening
On APIFleet phone calls from 15 August to 27 September 2026, the person answering an outbound call spoke before the assistant's first audio in 37 of 52 cascading calls (71.2%) and 27 of 29 OpenAI Realtime calls (93.1%), while inbound callers did so in 7 of 65 OpenAI Realtime calls (10.8%) and in 12 to 50 of 352 cascading calls (3.4% to 14.2%, counting transcribed words or any voice activity), and those inbound cases came from two assistants in each pipeline.
This is observational production data from APIFleet's own platform, including developer test and demo calls, not a controlled benchmark, and each pipeline detects caller speech its own way. In 35 of the 37 outbound cascading calls where the person spoke first (15 to 18 August), the first audio was a model reply, not a scripted opening.
So in this data the person answering usually spoke first, and the assistant's first audio was then often a reply to what they said rather than a scripted opening. Put the business identification in the assistant's first utterance in both cases, whether it is the opening message or that reply. This is a design recommendation, not a legal claim.
The barge-in guide has the method, the sample sizes and the limits of this data.
| Direction, pipeline and dates | Calls where the person spoke first | Note |
|---|---|---|
| Outbound, cascading (15 to 18 August 2026) | 37 of 52 (71.2%) | In 35 of the 37 the first audio was a model reply, not a scripted opening |
| Outbound, OpenAI Realtime (17 August to 27 September 2026) | 27 of 29 (93.1%) | A small sample |
| Inbound, OpenAI Realtime (17 August to 9 September 2026) | 7 of 65 (10.8%) | These cases came from two assistants |
| Inbound, cascading (15 August to 24 September 2026) | 12 to 50 of 352 (3.4% to 14.2%) | The range depends on whether transcribed words or any voice activity count, and the cases came from two assistants |
Voicemail and IVRs on outbound AI calls
Each assistant has a voicemail_action setting that applies only on outbound calls. The leave_message and hang_up values add a block to the model's instructions, so the model decides from the greeting whether a machine answered, using cues such as "leave a message after the beep", "no one is available", a long pre-recorded announcement or a beep before it has spoken.
APIFleet sets no carrier answering-machine-detection parameter on any dial request, and its documentation calls detection model-based and not as deterministic as carrier AMD. Test the setting against real greetings from your own list, because this guide gives no detection rate: APIFleet has not published one.
Set it with PATCH /assistants/{id} and a JSON body that holds voicemail_action and, for leave_message, voicemail_message.
Some calls reach an IVR menu instead. Turn on dtmf_enabled for the assistant, which is off by default, and the model gets a send_dtmf tool that takes 1 to 40 characters from 0-9, *, #, w and W, where w and W are half-second pauses. The tool is implemented for Telnyx calls, as a Call Control send_dtmf action on the live call, and for Twilio calls, as a call update whose TwiML contains only a Play of the digits, so test on your own account what a Twilio call does once the digits end; Voximplant calls do not get the tool, and APIFleet's documentation lists no DTMF support for VoIPCloud.
| Value | What the assistant does | Use it when |
|---|---|---|
| continue (the default) | Talks to the machine the same way it would talk to a person | You are still testing, or a machine is unlikely to answer |
| leave_message | Is told to wait for the beep, say voicemail_message exactly, then end the call | A short, reviewed callback message is wanted |
| hang_up | Is told to stay silent and end the call as soon as it hears voicemail cues | No message should be left on a machine |
What a voicemail message should say
The assistant is told to say voicemail_message exactly as written, so the wording is yours to get right. The default message names no business and gives no callback number, which rules (b)(1) and (b)(2) above ask for.
A better template states the registered business name first, gives a callback number and stays short. If the message is telemarketing, rule (b)(3) also asks for a toll-free number that connects to an automated opt-out, and you have to build that path yourself.
| Message | Identifies the business | Gives a callback number |
|---|---|---|
| Hi, this is an automated call from our team. Please call us back at your convenience. (the default) | No | No |
| This is Acme Dental Group about your appointment on Friday at 3 p.m. Please call us back on 1-800-555-0100. (an example) | Yes | Yes |
Timeouts, retries and duplicate calls: reconcile before you dial again
Every dial request to a carrier is aborted after 10 seconds, on Telnyx, Twilio, Voximplant and VoIPCloud alike. If a carrier answers with an error, the API returns HTTP 502 with a message such as telnyx dial failed: 422, and a dialer with no carrier credentials configured returns HTTP 503.
When the 10 seconds run out, the abort carries no status, so the API answers HTTP 500 with the generic message Internal server error. A local replay of APIFleet's dialer and error handling against a carrier that never answers returned exactly that after 10 seconds, so this is replay evidence, not production data.
A 500 after about 10 seconds therefore does not tell you whether the carrier placed the call. APIFleet's reference says that an outbound-call timeout does not prove that work was rejected, and that there is no universal Idempotency-Key guarantee for the action.
Reconcile before you dial again: read GET /calls with assistant_id and date_from set to just before your request, and look for a row with direction outbound. Outbound calls fire the same call.started and call.ended webhooks as inbound calls, so your webhook log is the second place to look.
The tool calling idempotency guide covers the duplicate-safe pattern for tool calls and webhooks, not for dialing, so use it for the webhook side of this check.
| Response | What it means | What to do |
|---|---|---|
| 201 with status initiated | The carrier accepted initiation. The call may not have connected or finished | Store call_sid and call_control_id, then wait for the webhooks or read GET /calls |
| 400 | assistant_id is missing, to or from is not E.164, from is not bound to your workspace, or a VoIPCloud request has no user_number. Nothing was dialed | Fix the request |
| 404 | The assistant does not exist | Check assistant_id |
| A billing error such as billing_insufficient_balance | Funds or provider credentials are not in place. It is raised before the carrier is contacted | Follow the returned code and fund the wallet |
| 502 | The carrier's API answered with an error, with a message such as telnyx dial failed: 422 | Read the message and details, and fix the cause |
| 503 | The dialer has no carrier credentials or connection settings to use | Add them, then try again |
| 500 after about 10 seconds | The carrier did not answer in time, and the call may or may not exist | Do not retry blindly: check GET /calls and your webhook log first |
What AI outbound calling costs per minute
As of 19 November 2026, APIFleet's platform fee is $0.03 per connected AI minute, billed per second, with no monthly subscription. Model, speech and carrier usage are billed on top, and prepaid top-ups start at $10.
A single all-in per-minute figure would be a guess, because the model, the voice and the carrier all change it. Enter your own choices in the voice agent cost calculator, and read the cost guide for the component breakdown. The public MCP tool apifleet_estimate_call_cost takes connected seconds and optional provider and carrier rates, and works without an API key.
A checklist before the first real dial
Run this list for each assistant before it dials anyone outside your own team. It repeats the sections above in the order you should do them.
- Confirm that each number on the list has the consent your lawyer says the call type needs, and that the record shows when and how it was given.
- Check every number against the National Do Not Call Registry and your own opt-out list before each dial.
- Work out the callee's local time and dial only inside the permitted hours.
- Put the registered business name and a callback number in the assistant's first words and in voicemail_message, and build the opt-out path if the call is telemarketing.
- Choose voicemail_action, enable dtmf_enabled only if the assistant must navigate IVRs, and test both against real greetings and menus.
- Store the call_sid and call_control_id from every 201, and look up GET /calls and your webhook log before any re-dial.
- If you record calls, check the recording-consent rules where your callees are.
- Estimate the cost per minute in the voice agent cost calculator, with your own model, voice and carrier, before you scale.
Continue with a practical next step
- APIFleet documentation: outbound calls, voicemail and DTMF
- APIFleet API and MCP reference: create an outbound call
- APIFleet MCP connection and examples
- Barge-in during call opening: who speaks first on phone calls
- Make repeated tool calls safe: idempotency keys, timeouts and webhook retries
- Test the conversation, not just the happy path
- What does a voice agent actually cost?
- Voice agent cost calculator
- AI voice agent for customer service: the inbound counterpart
- APIFleet pricing: platform fee and prepaid top-ups
Frequently asked questions
Is AI outbound calling legal in the US, including cold calling?
It can be, if the checks run before the call. The FCC ruled in FCC 24-17 that an AI-generated voice is an artificial voice under the TCPA, so calls generally need the called party's prior express consent, and a call that includes or introduces an advertisement or constitutes telemarketing needs prior express written consent, with the exceptions the rules list. Solicitations to residential subscribers must also avoid the hours before 8 a.m. and after 9 p.m. local time and numbers on the National Do Not Call Registry. State and non-US rules differ, this is not legal advice, and the APIFleet API runs none of these checks.
How do I place an AI outbound call with an API?
Send one POST /calls/outbound to APIFleet with a Bearer API key and a JSON body holding assistant_id, from and to, where from is a number bound to your workspace and both numbers are in E.164 form. A 201 response with status initiated means the carrier accepted the request, not that anyone answered. Run your consent, do-not-call and calling-hours checks before the request, because the API does not.
What does an AI agent do when an outbound call reaches voicemail?
It follows the assistant's voicemail_action. With continue, the default, it talks to the machine as it would to a person; with leave_message it is told to wait for the beep, say voicemail_message exactly and end the call; with hang_up it is told to end the call. The model decides from the greeting, because APIFleet sets no carrier answering-machine-detection parameter, so test the setting with real greetings.
Who speaks first on an AI outbound call?
In APIFleet's data, usually the person who answers. On APIFleet phone calls from 15 August to 27 September 2026, the person answering an outbound call spoke before the assistant's first audio in 37 of 52 cascading calls (71.2%) and 27 of 29 OpenAI Realtime calls (93.1%), in observational data that includes developer test and demo calls. Put the business identification in the assistant's first utterance, whether it is a scripted opening or the reply to hello.
How much does AI outbound calling cost per minute?
As of 19 November 2026, APIFleet's platform fee is $0.03 per connected AI minute, billed per second, with prepaid top-ups from $10 and no monthly subscription. Model, speech and carrier usage are billed on top, so the all-in price depends on your configuration; use the cost calculator for your own numbers.
Sources and evidence
- FCC 24-17 Declaratory Ruling: AI-generated voices under the TCPA · observed 2026-11-18
- eCFR: 47 CFR 64.1200 Delivery restrictions · observed 2026-11-19
- APIFleet documentation: outbound calls, voicemail and DTMF · observed 2026-11-19
- APIFleet API and MCP reference: create an outbound call · observed 2026-11-19
- APIFleet: Barge-in during call opening, who speaks first · observed 2026-11-19
- APIFleet pricing · observed 2026-11-19