# AI call center: how to build one with an API | APIFleet

> Build an AI call center with an API: bind a number, hand callers to people, plan for a missed transfer and run a test gate. Platform fee is $0.03 a minute.

Canonical URL: https://apifleet.dev/blog/ai-call-center
Last updated: 2026-11-23
Markdown Mirror URL: https://apifleet.dev/blog/ai-call-center.md
LLM index: https://apifleet.dev/llms.txt
MCP discovery: https://apifleet.dev/.well-known/mcp.json

An AI call center is a phone operation where AI voice agents answer or place calls and hand callers to a person when they ask for one or the agent cannot finish the task. With APIFleet you build that layer from an assistant, a bound carrier number, HTTP tools, knowledge documents and a transfer\_call list of human lines.

APIFleet team · 23 November 2026 · 13 min read

## How does an AI call center work?

A call reaches your carrier, the carrier asks APIFleet what to do with it, and the assistant bound to that number answers. The assistant talks, reads from knowledge and calls your systems through HTTP tools. Then it finishes the task, hands the call to a person, or records what your team must do next.

Each AI call center agent is one assistant: instructions, tools, knowledge and a voice. A number is bound to exactly one assistant at a time, so you split call types by number and keep each assistant narrow.

The table shows who provides each layer. The last row is not part of APIFleet today, so plan it before you write prompts.

The layers of an AI call center and who provides each one

| Layer | What it does | Who provides it | APIFleet surface |
| --- | --- | --- | --- |
| Carrier number | Receives the call and routes it to APIFleet | You: a Telnyx, Twilio, Voximplant or VoIPCloud account and number | PUT /numbers/{number}, then the carrier voice webhook |
| Conversation | Listens, reasons and speaks using your instructions | APIFleet runs it; model, speech and carrier usage are billed on top | POST /assistants |
| Systems of record | Looks up and updates orders, bookings and accounts during the call | You: your own HTTPS endpoints | POST /tools, PUT /assistants/{id}/tools |
| Policies and FAQs | Answers static questions such as hours and returns | You write the text; APIFleet adds it to the prompt | POST /knowledge, PUT /assistants/{id}/knowledge |
| Human handoff | Moves the live call to a person on your list of numbers | You: the people and the phone line; APIFleet sends the transfer | transfer\_phone\_numbers and transfer\_call |
| Records and alerts | Keeps transcripts, costs and outcomes, and sends signed events | APIFleet stores them; you read them and act | GET /calls, POST /webhooks |
| Queues, schedules and staffing | Decides who is on shift and who takes the next caller | You: your phone system and workforce tools | Not part of APIFleet |

## Which calls should the AI take, and which go to people?

Give the AI a call type only when three things hold: the answer sits in text or a system the agent can read, a wrong answer is cheap to undo, and the caller does not need a person's authority to proceed. Everything else belongs to your people.

APIFleet's default prompt sets the fallback. It tells the assistant to use transfer\_call when a caller asks for a human and the tool is available, and otherwise to collect the caller's name, preferred phone number and a short callback reason.

When your instructions and knowledge lack the answer, the prompt tells the assistant to say so plainly and collect the question for the team. It also tells the assistant not to close the call while a callback number, reason, confirmation or tool result is still pending.

APIFleet has no business-hours router. Each call's prompt carries the current date and time plus a business timezone, which is UTC unless the assistant sets one, so write your hours and timezone into the instructions or a knowledge document.

A starting split of call types between the AI and your people

| Call type | Who takes it first | How it works in APIFleet | Fallback to design for |
| --- | --- | --- | --- |
| Hours, address and policies | The AI | A knowledge document in the prompt (50 KiB each, 200 KiB in total) | It says it does not know and collects the question for the team |
| Order, booking or account status | The AI | A read-only HTTP tool that returns short, speakable JSON | On a tool error or timeout it takes the reference and a callback number |
| Booking, rescheduling or cancelling | The AI, with a read-back before the write | A read tool, then a write tool; treat a timed-out write as an unknown result | Your team checks the system of record before anyone retries |
| Disputes, fee waivers and complaints | A person | transfer\_call to a staffed number on Telnyx or Twilio | Name, number and reason go to a callback list |
| A caller who asks for a person | A person | The default rule: transfer\_call when it is offered, otherwise a callback request | Name, number and reason go to a callback list |
| Calls outside your hours | The AI | Hours in the instructions or knowledge, plus the date, time and timezone in the prompt | It takes a message with name, number and reason |
| Anything outside your instructions | The AI says so, then your team | The default rule: say so plainly and collect the question | Your team works the callback list |

## How to start an AI call center: seven API steps

These steps use the REST API at https://apifleet.dev with a workspace key in an Authorization: Bearer header, and most have a matching MCP tool at https://apifleet.dev/mcp. Saving an assistant places no call and binding a number buys none, but simulations, browser voice tests and real calls use paid provider time.

New workspace access is currently limited, so read the API reference and the pricing page, both linked below, before you plan a launch.

1. Create the assistant. POST /assistants with name, instructions, first\_message and transfer\_phone\_numbers, a list of E.164 numbers for your human lines. Keep the instructions about scope, call types and when to hand over, because APIFleet adds its own runtime rules for tool use, exact values and closing the call.
2. Connect your systems. POST /tools with name, description, a public HTTPS url, method, JSON Schema parameters and timeout\_ms from 500 to 30000, then PUT /assistants/{id}/tools with tool\_ids. The signing secret comes back once, so store it when you create the tool.
3. Add the static answers. POST /knowledge with name and content of up to 50 KiB, then PUT /assistants/{id}/knowledge with knowledge\_ids. Hours, policies and the things the agent must never promise belong here, and up to 200 KiB in total is injected into each call.
4. Bind a number. PUT /numbers/{number} with assistant\_id and provider, telnyx or twilio if you want human handoff. It binds a number you already own and buys nothing. Calls arrive once the carrier's voice webhook points at /telnyx/route or /twilio/route with your route secret, so use a spare number while you test if your main line is live.
5. Register the event feed. POST /webhooks with url and events such as call.ended and simulation.completed. The signing secret is returned once; verify X-APIFleet-Signature against the raw request body before you trust a delivery.
6. Run the test gate. Create personas and scenarios with POST /simulations/personas and POST /simulations/scenarios, pair them with POST /simulations, run POST /simulations/runs/batch in chat mode and then voice mode, and open a browser voice test through POST /assistants/{id}/test-token. Finish with real calls from your own phone, as the test section below describes.
7. Go live and watch. Route one line to the bound number from your phone system, read GET /calls with assistant\_id and date\_from filters, check GET /billing/wallet, and turn every real failure into a new scenario.

## How does the handoff to a human work?

The handoff is the built-in transfer\_call tool. It exists only when the assistant has at least one E.164 number in transfer\_phone\_numbers, checked when you save, and the call is a live carrier call the runtime can control. The docs list transfer for Telnyx and Twilio and not for Voximplant or VoIPCloud.

Browser voice tests and simulations have no carrier call to control, so transfer\_call is not offered in them. Rehearse the handoff on a real call to a number you can answer.

It is a direct handoff, not a warm transfer. The built-in tool moves the call and passes no summary to the person who answers. If your staff need context, have the assistant write a ticket through an HTTP tool before it transfers.

Test the unanswered case on your own carrier before launch. Place a call, ask for a person, let the ring go unanswered, and note what the caller hears next.

What happens on a direct carrier transfer, step by step

| Step | What happens | What you can rely on |
| --- | --- | --- |
| Caller asks for a person | The default prompt tells the assistant to use transfer\_call when it is available | The model decides, so name the cases that must transfer in your instructions |
| Announcement | The tool description tells the model to tell the caller about the transfer before it calls the tool | A prompt instruction, so check it in recordings |
| Destination check | The destination must match a saved number exactly, otherwise the tool returns ok: false and the allowed list | The model cannot dial a number you did not save |
| Carrier command | APIFleet asks Telnyx for a Call Control transfer, or updates the Twilio call with TwiML that dials your number | A 2xx reply means the carrier accepted the command, not that anyone answered |
| Session close | The assistant's session closes 2.5 seconds after the tool result so the announcement can finish | A fixed tail, not a wait for the person |
| Ringing | Your number rings. The request sets no timeout of its own, and Telnyx documents a default of 30 seconds to answer | What your phone system does with the call is outside APIFleet |
| No answer | If the carrier never bridges the call and the media stream stays open, the runtime resumes the assistant 32 seconds after the carrier accepts the command, with an apology that offers to keep helping or take a message | If the caller asks again the assistant may retry once, then it collects name, phone number and reason |

## How do you test an AI call center before launch?

Test the conversation, not just the happy path. A simulation pairs your assistant with a persona, which is a mock caller, and a scenario, which sets a goal and the checks that decide pass or fail.

A run passes only when every required evaluation passes, and evaluations can inspect tool calls, transcript text, the finished call row or a judge model's answer. Use tool\_mocks so write tools return canned JSON instead of touching your real systems.

Start in chat mode, which the docs call fast and cheap, then repeat the important scenarios in voice mode, which adds real turn-taking and a recording. Every run, browser test and real call uses paid provider time, so approve a batch before you start it.

The general method is in the guide to testing voice agents linked below. The table lists the checks that are specific to a call center.

A pre-launch gate for an AI call center

| Check | How to run it | Pass condition |
| --- | --- | --- |
| Configuration | Run the free configuration checker | All seven static checks pass; this catches omissions, not call quality |
| Each call type, happy path | Simulation in chat mode with tool\_mocks and a tool\_call evaluation | The right tool runs with the right arguments and every required check passes |
| Caller asks for a person | Simulation in chat mode with a transcript evaluation | No transfer is promised and the assistant asks for name, phone number and reason, because transfer\_call is not offered in simulations |
| Question outside the knowledge | Simulation with a transcript evaluation | The assistant says it does not know and collects the question instead of inventing an answer |
| Tool failure | tool\_mocks that return an error result | The assistant never confirms an action that failed and gives the caller a next step |
| Voice path | A batch in voice mode, then a browser voice test | You have listened to the recordings, not only read the transcripts |
| Real transfer, answered | A real call from your phone to a test line you can answer | The line rings and the caller and the person hear each other |
| Real transfer, unanswered | The same call, left to ring out | You know what the caller hears next on your carrier |

## How do you monitor an AI call center after launch?

Monitoring is a loop: an event arrives, you read the full call row, a person closes the follow-ups, and every real failure becomes a new scenario. Build the loop before you route real callers.

One detail shapes the design. The call.ended payload is captured before post-call analysis, so summary, outcome, sentiment and action\_items may be missing, and APIFleet does not send a second call.ended event when analysis finishes.

1. Receive call.ended on your webhook URL. Verify X-APIFleet-Signature against the raw body, keep X-APIFleet-Delivery to ignore repeats, and answer with a 2xx quickly, because replies are expected within 5 seconds by default and 5xx and 429 responses are retried.
2. Fetch the full row after analysis. GET /calls with search set to the call id, match calls\[\].id, and read summary, outcome, sentiment and action\_items once they are saved.
3. Build the callback list. Filter GET /calls by outcome, starting with follow\_up\_required, and give action\_items, which are short to-dos for a human teammate, to the people who ring callers back.
4. Review samples as well as failures. Sort GET /calls by cost\_total or duration\_seconds to find outliers, read transcript and tool\_events next to the audio from GET /calls/{id}/recording, and add each real failure to your scenarios.
5. Watch the balance. GET /billing/wallet returns balance\_microusd, reserved\_microusd and available\_microusd, and running calls hold funds until usage is reconciled, so alert on the available amount.

## What does an AI call center cost per minute?

APIFleet's platform fee is $0.03 per connected AI minute, billed per second, with no monthly subscription. Model, transcription and voice usage and your carrier's charges are billed on top, and with your own provider keys you pay those providers directly.

Because the fee follows connected seconds, 10,000 minutes carry a $300 platform fee whether they arrive as many short calls or a few long ones. A 90-second call carries $0.045.

Provider and carrier rates are yours to enter, since they depend on the models, voices and routes you choose. A transferred call may keep accruing carrier charges after the assistant leaves, and those are not part of the platform fee.

The public MCP tool apifleet\_estimate\_call\_cost takes connected seconds and optional blended provider and carrier rates, works without a key and places no call. The cost calculator linked below runs the same math in the browser.

Platform-fee math for an AI call center at the published rate

| Quantity | How to calculate it | Result |
| --- | --- | --- |
| One 90-second call, platform fee | 90 seconds × $0.03 ÷ 60 | $0.045 |
| 10,000 connected minutes, platform fee | 10,000 × $0.03 | $300 |
| Models, transcription and voice | Connected minutes × your provider rate, or paid directly with your own keys | Your rate |
| Carrier | Connected minutes × your carrier's rate for the route | Your rate |
| Total per connected minute | $0.03 + provider rate + carrier rate | Use the calculator with your rates |

## Is AI taking over call centers?

This guide does not forecast the industry, and it has no figures for how many of your calls an AI will resolve. Measure that on your own traffic, from call outcomes, before you widen the scope.

What the software does today is narrower and easier to state. APIFleet runs the AI layer and hands callers to a number you own; as of 23 November 2026 it has no ACD or skills routing, call queue, hold music, agent desktop or workforce management.

Those pieces stay in your phone system and helpdesk, and so do carrier limits. Twilio, for example, documents a default of one call per second for calls created through its API, which matters if you dial out at volume.

Legal duties such as recording consent and telling callers they are speaking to an AI depend on where your callers are, so take advice before you route real traffic.

Fit check for building an AI call center on APIFleet

| Choose this approach when | Look elsewhere when |
| --- | --- |
| You have a developer and want to own the call flow through an API or MCP | You need a no-code flow builder |
| Your calls run on a carrier number you control, and on Telnyx or Twilio if the AI must transfer to people | You need queues, skills routing or hold music in the same product |
| The AI takes defined call types and people take the rest | You need a warm transfer where the person who answers is briefed first |
| You want the platform fee as a separate, published per-second line | You want one all-in price per minute that already includes models and carrier |

![Diagram of one call: caller audio, speech and model, tools and context, and the spoken reply, with platform, provider and carrier charges listed separately](https://apifleet.dev/content/voice-agent-workflow.svg)

## Continue with a practical next step

- [Build the single voice agent behind each line, step by step](https://apifleet.dev/blog/ai-voice-agent-customer-service)
- [Write HTTP tools that return results a caller can hear](https://apifleet.dev/blog/voice-agent-tools)
- [Test the conversation, not just the happy path](https://apifleet.dev/blog/test-voice-agents)
- [Split platform, provider and carrier costs for one call](https://apifleet.dev/blog/voice-agent-costs)
- [Estimate monthly call center minutes with your own rates](https://apifleet.dev/tools/voice-agent-cost-calculator)
- [Run the seven-check assistant configuration checker](https://apifleet.dev/tools/assistant-config-checker)
- [Read the API reference for assistants, numbers and calls](https://apifleet.dev/docs/api)
- [Manage the same resources over MCP](https://apifleet.dev/docs/mcp)
- [Check the platform fee on the pricing page](https://apifleet.dev/pricing)

## Frequently asked questions

### Are there any AI call centers?

Yes. Teams run AI voice agents on their own phone numbers and hand callers to people for whatever the agent cannot finish. With APIFleet the AI layer is an assistant bound to a carrier number, while the human line, queue and staffing stay in your own systems.

### How does an AI call center work?

A call reaches your carrier number, the carrier sends it to APIFleet, and the assistant bound to that number answers. It uses knowledge and HTTP tools to complete routine requests, transfers to a person with transfer\_call when asked, and each call is logged with its transcript and cost, plus an outcome once post-call analysis has run.

### How do you start an AI call center?

Pick one call type, create an assistant with instructions, tools and knowledge, bind a carrier number you own, set the transfer numbers, run simulations and a real test call, then route one line and watch GET /calls. The seven API steps above give the exact endpoints.

### Is AI taking over call centers?

AI voice agents can take defined call types, but this guide offers no forecast. APIFleet runs the AI layer and hands callers to your own line, and as of 23 November 2026 it has no queue, skills routing or workforce management, so a phone system and people stay part of the operation.

### Can an AI call center agent transfer a caller to a human?

Yes, on Telnyx and Twilio calls. Add E.164 numbers to transfer\_phone\_numbers and the assistant can use transfer\_call to move the live call to one of them. A successful result means the carrier accepted the command, not that someone answered, and the transfer is direct rather than warm.

### How much does an AI call center cost per minute?

APIFleet's platform fee is $0.03 per connected AI minute, billed per second, so 10,000 minutes is $300 and a 90-second call is $0.045. Model, speech and carrier usage are billed on top, so add your own rates in the cost calculator.

## Sources and evidence

- [Twilio Call resource: redirect or end a live call, calls per second](https://www.twilio.com/docs/voice/api/call-resource) · observed 2026-11-23
- [Telnyx Call Control: transfer call command](https://developers.telnyx.com/api-reference/call-commands/transfer-call) · observed 2026-11-23
- [APIFleet API documentation: telecom providers, simulations, call logs and webhooks](https://apifleet.dev/docs) · observed 2026-11-23

Prepared with AI assistance and checked against the linked evidence. Examples are illustrative unless explicitly documented as measured results.

## Next on your reading list.

[AI voice agent for customer service: build guide](https://apifleet.dev/blog/ai-voice-agent-customer-service)[What does a voice agent actually cost?](https://apifleet.dev/blog/voice-agent-costs)[Test the conversation, not just the happy path](https://apifleet.dev/blog/test-voice-agents)

## Related

- [APIFleet](https://apifleet.dev/)
- [Documentation](https://apifleet.dev/docs)
- [Pricing](https://apifleet.dev/pricing)
