Connect a Telnyx phone number
Connect a Telnyx phone number so your AI agent answers calls on it. You paste your number and a Telnyx API key into Cysora, and Cysora sets up the call routing in your Telnyx account for you.
On this page
What you need
- A Telnyx account with a voice-enabled phone number you own, and a positive account balance (Telnyx won't route calls on an account without funds).
- A Telnyx API key (see the first section below).
- A number that is free to hand over. Connecting replaces how that number currently routes voice calls.
Create a Telnyx API key
- 1
Open API Keys
Sign in to the Telnyx Portal and go to Account Settings, then Keys & Credentials, then API Keys.
- 2
Create a key
Choose Create API Key and copy the key. It starts with KEY. Telnyx shows it only once, so keep it somewhere safe until you have pasted it into Cysora.
Connect your number
- 1
Open the Phone tab
In the sidebar, choose Channels (under Deployments), then the Phone tab.
Channels, Phone tab: Telnyx, Twilio and Plivo provider buttons and the number and credential fields. - 2
Choose Telnyx
Select Telnyx as the provider.
- 3
Enter your number
In Telnyx number, type the number in E.164 format: a plus sign, the country code and the number with no spaces, like +15551234567.
- 4
Paste your API key
Paste your key into Telnyx API key. Cysora stores it encrypted and never shows it again.
- 5
Connect
Choose Connect. You don't set anything up in Telnyx yourself.
What Cysora sets up in your Telnyx account
Please don't rename, edit or deactivate the Cysora Voice application, or move the number to another connection, in the Telnyx Portal. If you do, choose Connect again in Cysora to restore it.
- A Voice API (Call Control) application named Cysora Voice. If one already exists, Cysora reuses and updates it.
- Its webhook is set to https://www.cysora.com/api/webhooks/telnyx/voice using webhook API v2, and the application is switched on.
- Your number is assigned to the Cysora Voice application, so incoming calls reach your agent.
- Cysora reads your account's public key so it can check that every call event really comes from Telnyx.
Set transfer and office hours, then go live
- 1
Transfer number (E.164)
Optional. Enter a number with its country code, like +15557654321, where calls can be passed to a person. Leave it blank and Save activates the agent as AI-only: callers cannot reach a human from the call.
- 2
Language
Enter the language code the agent should speak, such as en.
- 3
Office hours
Set Office hours start (HH:mm) and Office hours end (HH:mm) in 24-hour time, like 09:00 and 17:00, and your Timezone (IANA), like America/New_York or Asia/Karachi. These hours control when the AI answers, not just when a person is available. Outside them, callers hear an after-hours message and the call ends.
- 4
Save and activate
Choose Save & activate. The button area shows Saved — AI live when your agent is answering. You don't need to set any environment variables or code: everything is saved in Cysora.
Try it before connecting
While no number is connected, the Test on a Cysora phone line card on the Phone tab can give you a shared test number for about 30 minutes, so you can call and hear your agent first. It shows only when a test line is available.
Disconnecting
Disconnect on the Phone tab releases the number: Cysora removes the number from the Cysora Voice application in Telnyx, then unlinks it from your agent. Calls to the number stop reaching your agent straight away. Only use it when you really want to stop; you can connect again later.
Check it worked
- The Phone tab shows your number as connected and your agent as live.
- During office hours, call the number from another phone: your agent answers.
If it doesn't work
Connect says the Telnyx API key is required.
Paste the key into Telnyx API key before choosing Connect. Check you copied the whole key, starting with KEY.
The number isn't accepted.
Use E.164 format: + then the country code and number with no spaces or dashes, like +15551234567. The number must be in the same Telnyx account as the API key.
Connect says the number is already in use.
Another Cysora account still has this number connected. Ask them to disconnect it, or contact support.
Calls ring but your agent doesn't answer.
Check you chose Save & activate, not just Connect, and that the call is inside your office hours in the timezone you set. In the Telnyx Portal, check the number is assigned to the Cysora Voice application and the application is active. If not, choose Connect again.
Calls don't connect at all.
Check your Telnyx account has a positive balance and the number is active and voice-enabled.
Callers hear the after-hours message.
The call came in outside Office hours start and end. Check the hours use 24-hour HH:mm and the Timezone (IANA) is your own, like Asia/Karachi.
Calls stopped after someone chose Disconnect.
Disconnect removes the number from Cysora Voice. Enter the number and API key again, choose Connect, then Save & activate.
Disconnect fails with a provider error.
Cysora couldn't clear the setting in Telnyx. Check your API key is still valid and try Disconnect again.
Related guides
- Answer phone calls with your agentConnect a number from Telnyx, Twilio or Plivo so your agent answers calls, and pick the right setup guide.
- Connect a Twilio phone numberConnect a Twilio number with your Account SID and Auth Token so your agent answers calls.
- Test your agentTry your agent as a customer would, on the website chat or WhatsApp, before anyone else sees it.
Still stuck?
Ask Cy in your dashboard, or email us and your account rep will help.