- A Nixflex account
- A Twilio or Telnyx account with at least one phone number
- A way to make a test call (any mobile phone)
Nixflex is bring your own carrier. Your numbers stay in your own Twilio or Telnyx account, you pay the carrier directly, and Nixflex never marks up or resells them. Everything below works the same on either carrier.
Step 1 - Get your API key
1
Sign in to the dashboard
Open dashboard.nixflex.com and sign in. An API key is created for your account automatically.
2
Reveal your key
Go to API Keys, click Reveal, and copy the full credential. It looks like:
3
Use it in requests
Authenticate every API call with:
Step 2 - Create an agent
An agent is the AI personality that answers calls. Each agent has a prompt, voice, language, and behaviour settings.agent_id:
agent_id - you’ll attach a phone number to it next.
Step 3 - Connect a phone number
You import a number you already own. Nixflex works out which carrier it is from the credentials you send - there is no provider field to set.- Twilio
- Telnyx
Buy a voice-enabled number in your Twilio console, then import it with your Account SID and Auth Token:Nixflex points that number’s webhooks at the engine. Nothing else to configure.
Full guide: Twilio.
Step 4 - Test inbound
Call your number from any phone. The agent will:- Pick up
- Say your welcome message
- Listen, respond, handle interruptions naturally
- Hang up when the conversation ends or when the caller stops talking
Step 5 - Test outbound
Have the agent call you. Replace theto_number with your mobile.
prompt is required on every outbound call - it is the whole brief for that call, and the agent’s own instructions are NOT used on outbound. You don’t pass a from_number: the engine uses the number you assigned to the agent in Step 3. Outbound works on both carriers. See Outbound calls.Step 6 - Read the call back
After the call ends, pull the details:Using the SDK
The official Node.js SDK wraps every endpoint in this guide, so you get typed methods, automatic retries on rate limits, and typed errors instead of raw HTTP.What’s next
Telephony setup
Full carrier guides for Twilio and Telnyx, including what each one supports.
Agent actions
Let your agent transfer calls, send SMS, and end calls using prompt tags.
Webhooks
Receive post-call data in your own systems automatically.
Custom functions
Let the agent call your APIs mid-call (lookup, booking, payments).
Node.js SDK
The same calls as typed methods with retries and errors handled.
CLI and MCP
Do all of this from a terminal, or from Claude Desktop with the MCP server.