Why BYO
You own the numbers
Numbers stay in your own carrier account. If you ever leave Nixflex, you keep them.
No platform markup
You pay your carrier’s wholesale prices directly. Nixflex doesn’t mark up call or SMS costs.
Multi-tenant ready
One Nixflex agent can serve unlimited phone numbers — one per end-customer if you resell.
Skip A2P 10DLC blocks
For US SMS, your A2P registration applies. We don’t get in the way.
Importing a number
A Twilio number needs your Account SID and Auth Token:- Validates the phone format and Twilio SID format
- Verifies the number exists in your Twilio account using the credentials you sent
- Confirms the agent belongs to your Nixflex account
- Overwrites Twilio’s webhooks on that number (voice, SMS, status callbacks) to point at Nixflex
- Inserts a
phone_numbersrow linking number → agent → API key
Telnyx numbers now do almost everything Twilio numbers do - inbound and outbound
calls, recording in both directions, cold and warm transfer, booking, custom
functions, analysis, webhooks, keypad input, carrier voicemail detection, and inbound
SMS with auto-reply.SMS campaigns, single sends, and delivery receipts all work on Telnyx numbers too, so
there is no feature reason to prefer one carrier over the other. See
Import phone number for the full support table.
Multi-number, single-agent pattern
A single agent can be attached to many numbers. This is how reseller apps work:custom_prompt (a business profile - see below), so the same agent template answers as a different business per number. On top of that, per-customer context also comes from:
- Which phone number was dialled (engine looks up the row)
- What is on file about the caller, kept separately for each of your numbers (see Caller context)
Per-number prompt (business profile)
Eachphone_numbers row can hold a custom_prompt - a business profile for that specific number. It layers on top of the agent’s prompt:
- Agent prompt = the shared template (how to behave - e.g. “a friendly receptionist”). Set by you, the developer.
- Per-number prompt = the specific business identity (name, address, hours, services) for that number. Different per end-customer.
custom_prompt as a BUSINESS PROFILE section. If it conflicts with the general agent prompt, the number’s details win. If a number has no custom_prompt, the agent prompt is used alone - so direct single-business agents are unaffected.
This applies to both inbound calls and inbound SMS replies, so a reseller’s end-customer answers consistently across voice and text.
Set
custom_prompt in the body when importing a number, or update it anytime with PATCH /v1/phone-numbers/:phoneNumber and body { "custom_prompt": "..." } (send null or an empty string to clear it - the number then falls back to the agent prompt alone). Maximum 8000 characters. Outbound calls use the per-call prompt instead (see Create outbound call).Other per-number settings
The per-number model goes well beyond the business profile. Most of what an agent controls can be overridden on a single number, so every end-customer on a shared agent can behave differently. The rule: not set means inherit. Leave a setting empty on the number and it follows the agent. Set it and the number wins for its own calls. That is whatnull means everywhere in the phone-numbers API - “no opinion”, not “off”.
Set any of them when importing, or later with
PATCH /v1/phone-numbers/:number. Send null to clear one and go back to inheriting.
These have their own endpoints rather than a field on the number:
Can one agent answer for different businesses?
Yes - that is the normal way to use Nixflex. Give each business its own phone number on the same agent, then set that number’s business profile, voice, calendar and webhook. Callers reach what feels like a separate company each time, while you maintain one set of instructions.Can each phone number have its own voice and settings?
Yes. Voice, speaking speed, recording, keypad input, booking calendar, webhook and text instructions can all be set per number, using the tables above. Anything you leave unset follows the agent. The engine resolves all of this from the number involved in the call - the number dialled for inbound, thefrom_number for outbound. A number with nothing set simply uses the agent’s defaults.
Listing numbers
Removing a number
Deleting a number from Nixflex does not release it from your carrier. The number stays in your Twilio or Telnyx account and continues to bill until you release it there. This is intentional — releasing is a permanent billing decision and stays with you.
Using multiple carrier accounts
Each phone number stores its own credentials. A single Nixflex account can serve numbers from multiple Twilio accounts, multiple Telnyx accounts, or a mix of both — for example:- A UK Twilio account for
+44numbers - A US Twilio account for
+1numbers - A separate Twilio subaccount per client (recommended for agencies)
Constraints
- One number, one agent. A phone number can be attached to only one agent at a time. To move a number to a different agent, delete the existing record first then re-import.
- Strict number matching. Carrier number search uses prefix matching; Nixflex performs a strict equality check after lookup to prevent accidental imports.
- Account scope. You can only see and manage numbers belonging to your API key. Cross-account access is blocked.
Errors
See the Import phone number API reference for the full list of error codes (invalid_phone_format, agent_not_owned, number_already_imported, etc.).