A voice AI API that turns a request into a phone call.

The Nixflex voice AI API lets your code build AI agents that answer and make phone calls. Create an agent, point your number at it, and get every call back as a transcript and results, all from one REST API.

POST/v1/agents
{
  "name": "Front desk",
  "system_prompt": "Answer questions for Carter Vans and book services.",
  "welcome_message": "Hi, thanks for calling Carter Vans."
}
Sending…
Waiting for your request

1. Create an agent. An agent holds the instructions, voice and language. You can reuse it on many numbers.

  • Create an agent: POST /v1/agents. An agent holds the instructions, voice and language. You can reuse it on many numbers.
  • Point a number at it: PATCH /v1/phone-numbers/%2B12025550123. Your Twilio or Telnyx number now reaches the agent, and incoming calls are answered straight away.
  • Place a call: POST /v1/calls/outbound. The agent calls with the purpose you give it. Save the request ID, so a retry cannot start a second call.
  • Get the result: WEBHOOK call.completed → your server. When the call ends, a signed event brings the summary, transcript and the fields you asked for.

Your users already expect to call your product, not only click it.

So Nixflex gives you the phone agent as an API, and you keep building your product.

Nixflex call history with each call's outcome, recording, analysis and transcript
call.completedThe same outcome, summary and transcript, sent to your server.

One API instead of four services

A phone agent needs four parts working together in real time. Nixflex runs them as one engine, so you call one API and pay one rate.

1Speech recognitionHears the caller
2AI modelDecides what to say and which tool to use
3VoiceSpeaks the reply
4Phone lineYour Twilio or Telnyx number
NixflexRuns all four, live on every call

Already have an AI model or voice you like? Bring your own, and keep the same API.

Phone calls$0.08

a minute, AI and voice included. Website calls are $0.09.

Voice AI API pricing

Pay for call minutes, not for requests. No subscription, no setup fee, and $10 free credit when you sign up.

See full pricing

Your first call in a few requests

Sign up, copy your key, connect a number, then place a call from your terminal.

Get set up

No sales call needed.

  1. 1Sign up and get $10 free credit
  2. 2Open API Keys and copy your key
  3. 3Connect your Twilio or Telnyx number in the dashboard
  4. 4Create an agent and point the number at it
  5. 5Place a test call, then read its result
Quickstart

Place a call

One request. The agent calls with the purpose you give it.

curl --request POST \ --url "https://api.nixflex.com/v1/calls/outbound" \ --header "Authorization: Bearer $NIXFLEX_API_KEY" \ --header "Content-Type: application/json" \ --data '{"agent_id":"agent_7f3c91","to_number":"+14155550142","prompt":"Confirm Thursday at 10."}'
Outbound call reference

What developers ask before they build

The details a technical review looks for, in one place. Every Nixflex endpoint is in the API reference.

Base address
https://api.nixflex.com/v1, with JSON over HTTPS.
Authentication
Authorization: Bearer KEY_ID:KEY_SECRET, kept on your server.
OpenAPI file
All 151 public operations, with stable operation IDs, for generating a client in your language.
Rate limits
RateLimit-Limit, RateLimit-Remaining and Retry-After on every response.
Safe retries
Writes are not retried for you. Send a request_id with an outbound call, and a repeat cannot start a second call.
Webhooks
Signed with HMAC-SHA256 over the exact bytes, with up to 5 delivery attempts.
Custom functions
Your HTTPS endpoint, called by the agent during a call, with up to 15 per number.
Pre-call hook
Add context to an inbound call or refuse it, within 5 seconds.

Frequently asked questions

A voice AI API lets your code create AI agents that talk on the phone. With the Nixflex API you create an agent, point a phone number at it, place or receive calls, and get the transcript and results back, without building the speech, AI and phone parts yourself.

You pay for calls, not for the API. Phone calls are $0.08 a minute and website calls are $0.09 a minute, with no subscription and no fee per request. See the pricing page for the full picture.

Every new Nixflex account gets $10 free credit when you sign up in the dashboard, so you can build and test with real calls before you pay.

Sign up in the dashboard, then open API Keys. The key is in two parts, an ID and a secret, joined by a colon. Keep it on your server.

Any language that can send HTTPS requests. You can also download the OpenAPI file and generate a typed client for your language.

Yes. Nixflex works with numbers in your own Twilio or Telnyx account. You connect a new number in the dashboard once, then manage it through the API.

Yes. You can connect your own AI model, voice and recording storage, and calls that your own model serves cost less. See bring your own AI.

Each call can send a signed call.completed event to your server, with the summary, transcript, sentiment and the fields you chose. You can also read any call through the API.

Yes. Custom functions let the agent call your HTTPS endpoints while the caller is on the line, for example to check an order or a booking.

Most of it. A few personal actions stay in the dashboard, such as accepting ownership of an account, and new phone numbers are connected there first.

Still have a question?

Contact us

Build your first phone agent today.

Get your key, place a test call and read the result. $10 free credit, no subscription.