Telnyx integration
Connect your Telnyx number to an AI voice agent.
Keep your Telnyx number and your Telnyx bill. Point a TeXML app to Nixflex, import the number, and an AI agent answers and makes its calls.
- 1Create a TeXML app
- 2Point it to Nixflex
- 3Keep only G711U
- 4Paste the app ID
- 5The agent answers
What your Telnyx number can do on Nixflex
Once imported, the number works with your agent on every call, in and out. You switch each channel on or off per number.
Answer calls
Every call to your Telnyx number is answered by your agent, day and night.
Make calls
Place one call or run a campaign from the same number.
Pass to your team
Transfer the caller to a person, straight away or with a short briefing.
Text during a call
Send a link, an address or a confirmation by text while the caller is on the line.
Keypad input
Callers can type numbers on their phone when the agent asks.
How to connect Telnyx to your AI voice agent
- 1In Telnyx
Have a number in your Telnyx account
Use a number you already have, or buy one in Telnyx first.
- 2In Telnyx
Create a TeXML Application
Set its voice webhook to
https://api.nixflex.com/telnyx-voicewith method POST, and enable only the G711U codec. - 3Phone Numbers
Choose Import number, then Telnyx
Paste your Telnyx API key and the TeXML Application ID. You can also add your Telnyx public key.
- 4Phone Numbers
Choose the agent and import
The number is checked against your Telnyx account and attached to your TeXML app.
- 5Your phone
Call the number
Your agent answers. The call, recording and summary appear in Call History.
Set the TeXML app up first: the webhook, the POST method and only the G711U codec. Calls fail if the app points elsewhere or uses another codec. Test with one number before moving the rest.
Your Telnyx number in the Nixflex dashboard
Import it, see it answer, change its details later, or remove it. Every step, as it really looks.
Import your Telnyx number. Paste the number and your Telnyx details, choose the agent, and import.
What happens in your Telnyx account
Nothing hidden. This is what importing does to the number and your TeXML app, and what stays yours.
- The number
- Attached to the TeXML Application you created, so its calls reach your agent. It stays in your Telnyx account.
- Other numbers on the same app
- Shared app webhooks are left as they are. Only the number you import is attached.
- Your Telnyx public key
- Optional. With it, callbacks signed by Telnyx are checked. It shows as verified after a real signed call.
- Your Telnyx bill
- Number rental, phone minutes and text delivery stay on your Telnyx bill. Nixflex adds no mark-up and no fee per text.
- New Telnyx credentials
- Can be swapped in place later. The agent, settings and history stay; a fresh test call verifies the new details.
At Telnyx’s own prices, on your Telnyx account.
Speech, AI, voice and call analysis, from your Nixflex credit.
Two bills, each for its own part
No subscription and no setup fee. Nixflex adds no mark-up on Telnyx’s charges and no fee per text. New accounts get $10 free credit.
See full pricingFor developers
Connect the number once in the dashboard. After that, your code can manage it through the API.
- Move the number to another agent
PATCH /v1/phone-numbers/{number}withagent_id- Swap Telnyx credentials
POST /v1/phone-numbers/{number}/credentialswithtelnyx_api_keyandtelnyx_connection_id- Check the public key status
GET /v1/phone-numbers/{number}returnstelnyx_key_status: set and verified, not the key itself- Call results
- A signed
call.completedwebhook per number, or read any call by ID
See Twilio, bring your own carrier for how the two compare, and the credentials API.
Frequently asked questions
Yes. Create a TeXML Application in Telnyx that points to Nixflex, then import the number in the Nixflex dashboard with your Telnyx API key and the application ID. Your agent answers its calls.
Set the voice webhook to https://api.nixflex.com/telnyx-voice with method POST, and enable only the G711U codec.
It is optional. With it, Nixflex can check that callbacks really come from Telnyx. It shows as verified after the first real signed call.
Telnyx keeps billing you for the number, phone minutes and text delivery. Nixflex bills $0.08 a minute for the AI agent, with no mark-up on Telnyx’s charges.
No. Importing attaches only that number to the app and leaves the app’s shared webhooks as they are.
Yes. You can place single calls or run campaigns, with each person’s local calling hours checked first.
The agent can send texts during and after calls. For automatic replies to incoming texts, follow the phone numbers guide for your Telnyx messaging setup before you rely on it.
Remove the number in Phone Numbers. It is unassigned from your TeXML Application, and you can choose whether to also release it from your Telnyx account.
Both work. Use the carrier you already have numbers with. See bring your own carrier for the differences in setup.
Still have a question?
Contact usPut an AI agent on your Telnyx number today.
Set up the TeXML app, import the number and call it. $10 free credit, no subscription.