To use Telnyx v2 API endpoints, you will need an API Key and for our API v1 endpoints, you will need an API Token.
This article will explain how to get your API Key for API v2 or API Token for API v1.
Telnyx uses API Keys or Tokens to authenticate API requests from our customers.
Step by Step guide API v2 Key
Log in to https://portal.telnyx.com/
Click on the Account Settings dropdown section on the left-hand side.
The click Keys & Credentials.
Click Create API Key on the top right hand corner to create an API v2 Key.
This key is what you will use as the bearer token in your API requests.
You will then be provided with your API v2 Key to copy.
If you lose it you can always go back to this section again to get it or create a new one.
You can also associate up to 10 tags per API Key.
Coming soon:
Adding search by tag functionality in the Mission Control Portal
Adding developer documentation to access managed your API Keys through an API endpoint.
Step by Step guide API v1 Token
Log in to https://portal.telnyx.com/
Click on the Account Settings dropdown section on the left-hand side.
Then click Keys & Credentials.
Inside this page click the "API V1 Tokens" button on the top right hand side.
Click Create API Token.
We will ask you to give it a name, you can name it whatever you want.
You will see a section on the right-hand side where you can click Copy Token.
If you lose it you can always go back to this section again to get it or create a new one.
In your API request, please include two headers called:
x-api-user: <your account email>
x-api-token:<your account token> when making the API V1 request.