Getting Started


Telnyx is a real-time communications platform with full, feature-rich functionality, making it quick and easy to set up and port numbers around the world, configure messaging, control VoIP and IP network functions, and define how and where communications can be used in real time. The Telnyx API can power a host of specialty applications, from call tracking to cloud-based PBX, dynamic security, and authentication use cases.

Our API Reference is organized by topics, such as Numbers or Messaging. Each topic is prefaced with a general overview that describes how our API can be used within the context of that topic, followed by reference documentation of specific API endpoints.

Telnyx strives to create a developer-first platform with first-rate interactive documentation and 24/7 support. Explore our API capabilities and please let us know how we can better empower your development team to better serve your customers.


API Explorer

You can use the API Explorer to try out API endpoints, side-by-side with the endpoint reference.

Telnyx does not offer a sandbox environment for the API Explorer at this time. You can create a separate, development-only Mission Control Portal account to test out API endpoints. The API Explorer triggers real API calls, so do not use your production Mission Control account credentials when testing.


Mission Control Portal

You will need a Mission Control Portal account in order to access our API. Most of the API Reference topics will be familiar to you if you've used the Portal interface before; for example, the Connections page corresponds to the Connections API topic. You will be able to perform all the same Portal actions through the API.


Telnyx HTTP endpoints are RESTful, and consume and return JSON. All HTTP endpoints except require an API token value in the request header.

More information on API tokens, Authorization headers and IP Authentication will be covered in the Authentication section below.

CNAM Data and LRN Data may be retrieved with HTTP, as well as DNS ENUM, SIP (LRN only) or XML UDP (LRN only) protocols. DNS ENUM, SIP and XML UDP requests must be set up to use an IP authenticated profile. More information on IP Authentication will be covered in the Authentication section below.


Our API is currently at v1. A new version of the API will be released when backwards-incompatible changes are made to the API.


Numbers DIDs and toll-free numbers that can be purchased and managed in order to receive calls (inbound/origination)
Messaging Short Message Service (SMS) text messaging. Long code
Porting Transferring of DIDs and toll-free numbers onto the Telnyx network from another carrier
Connections Provisions SIP trunks
Reports Access Call and Messaging Detail Records, and generate usage reports
Account Your Mission Control Portal account
CNAM Data Caller ID Name information
LRN Data Local Routing Number information
Switch Data Telephone switch information
HTTP Endpoints

DNS ENUM Endpoints

SIP Endpoints

XML UDP Endpoints


Log in to your Mission Control Portal account in order to obtain the API access keys needed to authenticate your application.

API User and Token

API User may either be your Portal email address or your 24-character API Access Key. You can find your API Access Key and API token under API Tokens in the Portal.

Add an API Token if you have not done so already. Once you have your API user and token, you may use them as header values in HTTP requests.

IP Authentication

CNAM & LRN Data endpoints that do not use HTTP will require IP authentication. You will need to add IPs to a connection. You can then create a data profile through the Portal Telco Data interface and choose IP Address as the authentication method, and then select the connection with the IPs you’d like to whitelist. You can read more on how to authenticate specific endpoints in the CNAM Data and LRN Data Overviews.

Sending SMS

An API token is not required to send SMS. Create a new Messaging profile to obtain a messaging profile secret to add to your HTTP headers. More in-depth information on sending SMS can be found in the Messaging Overview.

API User Your Portal account email address or API Access Key
API Access Key Access key used in place of your Portal email address as the API user
API Token Token generated within your Telnyx account to use with API requests
IP Authentication Uses IP addresses as the authentication method, as opposed to token-based authentication
Profile Secret Messaging profile token used to authenticate SMS send requests
Example User & Token Request Header
x-api-token: MY_TOKEN
Example Authorization Request Header
Authorization: Token MY_TOKEN
Example SMS (Send) Request Header
x-profile-secret: MY_TOKEN

Rate Limits

API requests are rate limited to 100k requests every 15 minutes, per IP address. Rate limits are subject to change.

Over your rate limit?

Contact if you find you're going over our rate limit.

Rate Limit Response Headers
X-Rate-Limit-Limit:  100000
X-Rate-Limit-Remaining: 999997
X-Rate-Limit-Reset: 1000
Rate Limit Response Body
  "status":  429,
  "message": "you have exceeded the API rate limit"



Questions? We’re here to help.


Search our knowledge base for answers to frequently asked questions and support guides.


Email us at to get in touch with our support team.

24/7 Live Chat

Question about documentation on this page? Get answers right away from our support team.

Start live chat