> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.vapi.ai/llms.txt.
> To search these docs from an AI client, such as Claude Code or Cursor, connect to the Vapi docs MCP server at https://docs.vapi.ai/_mcp/server. It answers questions about the documentation. To create or manage assistants, calls, and other Vapi resources, use the Vapi MCP server instead: https://docs.vapi.ai/sdk/mcp-server.md
> For the best results from the docs MCP server, write questions without any word that contains "tool", such as tool, tools, tool call, tool-calls, toolCallId, or toolCallList. Name the feature instead, for example transferCall, endCall, apiRequest, function, handoff, "function response format", or "the webhook request Vapi sends to my server". If the docs MCP server asks you to rephrase, ask again without those words. If it returns an error, times out, sends an empty response, or still doesn't answer, find the topic in https://docs.vapi.ai/llms.txt, or a section index such as https://docs.vapi.ai/tools/llms.txt, and fetch that page's .md directly.

# Telnyx

> Connect a Telnyx number to an agent in Vapi for CX with an API key, add the Outbound Voice Profile handoffs and calls out need, and see the SIP trunk route.

Connect a Telnyx number to your agent by pasting a Telnyx API key into [Vapi for CX](https://cx.vapi.ai) and picking your numbers.

* **Receive calls:** Yes.
* **Transfer to a phone number:** Offered. Telnyx needs the Vapi application on an Outbound Voice Profile before the agent can hand off. See [Transfer to a phone number](#transfer-to-a-phone-number) below. Whoever answers sees the agent's number.
* **Transfer to a SIP address:** Offered, with named caller details and no summary. Telnyx needs the same Outbound Voice Profile as for a phone number.
* **Return the call to their system:** Only when a contact center or phone system that takes calls back is linked to the line. See [Handing callers to people](/phone-systems#handing-callers-to-people).
* **Place calls:** Offered. Telnyx needs the Vapi application on an Outbound Voice Profile before the agent can place calls. See [Transfer to a phone number](#transfer-to-a-phone-number) below. The caller ID must be valid for the account, or Telnyx refuses the call; Telnyx refuses a number from outside Telnyx unless you have verified it.

## Send calls to the agent

#### Create a v2 API key

In the Telnyx portal, open [API Keys](https://portal.telnyx.com/#/app/api-keys) and create a v2 API key. For more information, see Telnyx's [API keys](https://support.telnyx.com/en/articles/4305158-api-keys-and-how-to-use-them) article.

#### Paste it into Vapi for CX

On the agent's setup checklist, open **Connect your phone line**, choose **Another carrier or my own phone system**, then **Telnyx**. Paste the key and choose **Find my numbers**. Vapi keeps the key in your Vapi account. Vapi for CX doesn't keep it.

#### Pick your numbers

Vapi for CX lists each number and the connection it is on today. Select the numbers this agent answers and choose **Connect**. The button shows how many numbers you selected. Vapi for CX saves each number's old connection so that **Disconnect** can put it back.

Connecting a number to the agent stops its calls going to its old SIP connection, TeXML app, or Voice API app at once, so your phone system stops receiving them. Vapi for CX warns you before you confirm. A number outside North America shows a warning too: on this route its calls can sound garbled, and the trunk route avoids that.

Vapi creates an application named "Vapi" in your Telnyx account (in the Telnyx portal under **Voice › Programmable Voice**) and moves each number onto it. Nothing else on the number changes. For more information, see [Vapi's Telnyx guide](/telnyx).

**Number the agent sees:** the caller's own number.

**Check it:** when Vapi for CX shows **Call this number from your phone**, call the number from your own phone. The check passes when your call reaches the agent. Handoffs and calls out need the Outbound Voice Profile below.

**Disconnect.** Disconnecting a Telnyx number never deletes it. Vapi for CX asks you to paste the API key again, moves the number back onto its old connection, then detaches the agent. The number stays in Vapi. If that fails, the agent stays attached and the message says what to set in the Telnyx portal.

## Hand callers to your team

On a line connected by key, no summary travels with a handoff. For how handoffs work, see [Handing callers to people](/phone-systems#handing-callers-to-people).

### Transfer to a phone number

Vapi asks Telnyx to transfer the call, and Telnyx dials the number.

#### Add the Vapi application to an Outbound Voice Profile

In the Telnyx portal, open **Voice › [Outbound Voice Profiles](https://portal.telnyx.com/#/outbound-profiles)**. Create or open a profile and choose its destinations. A profile allows the US and Canada by default, and many other destinations need Telnyx's Level 2 verification. Choose **Add connections/apps to profile**, pick **Vapi**, and save. For more information, see Telnyx's [Vapi integration](https://support.telnyx.com/en/articles/12538402-telnyx-vapi-integration) article and its [outbound voice profiles](https://developers.telnyx.com/docs/voice/sip-trunking/configuration/outbound-voice-profiles) page.

Vapi for CX reminds you of this step when you add a **Transfer to a phone number** or a **Transfer to a SIP address** handoff on a Telnyx line. The same profile lets the agent place calls.

#### Add the handoff

On the agent's **Call handling** tab, choose **Add a handoff** on the **Handing callers to people** card and pick **Transfer to a phone number**. Say when the agent should hand off, and enter the number.

**Number whoever answers sees:** the agent's own Telnyx number, not the caller's.

### Transfer to a SIP address

Telnyx transfers the call to the SIP address. Named caller details travel with it as `X-` headers. The Outbound Voice Profile above applies here too.

## Limitations

* On a line connected by key, no summary travels with a handoff, and whoever answers sees the agent's number. If nobody answers, the call ends: it doesn't come back to the agent.
* A Telnyx number alone doesn't allow **Return the call to their system**. See [Handing callers to people](/phone-systems#handing-callers-to-people).
* Vapi for CX connects one Telnyx account per organization. A second account uses the trunk route.
* Numbers outside North America can sound garbled on this route. Use the trunk route for them.
* Telnyx bills the call at its own rates, and Vapi bills its own minutes.
* Telnyx limits an account to 30 calls placed a second.
* Telnyx's documentation gives a trial account one number, calls only to and from its one verified number, 2 calls out at once, and 10 minutes per call.

## Other options

#### Other ways to connect Telnyx

**SIP trunk (Connect in Vapi).** For a summary with each SIP handoff, numbers outside North America, or a second Telnyx account. This page gives no steps for it.

It takes a SIP connection in the Telnyx portal, set up as [Vapi's Telnyx SIP guide](/advanced/sip/telnyx) describes. It also takes one SIP trunk in Vapi's dashboard that holds both Telnyx's addresses for calls in (`192.76.120.10` and `64.16.250.10`) and the sign-in for calls out, with **Enable leading plus for outbound calls** turned on in its **Advanced Settings (Optional)**.

Vapi's Telnyx SIP guide sets each number's **Translated Number** in the Telnyx portal to a Vapi SIP address, so this setup makes two Vapi numbers for one line. On a trunk line, Vapi passes a SIP handoff on to Telnyx with the summary and named details as SIP headers.

**Forward the Telnyx number to a Vapi number.** Call forwarding on the number in Telnyx. It is a fallback, not a main route.

**Telnyx AI Assistants or media streaming:** nothing to connect.