API Keys and How to Change Them

What is a Twilio API key?

API keys are one way to authenticate to Twilio’s API services. There are two types of API key: Standard and Main.

Standard API keys give you access to all the functionality in Twilio’s API except for managing API keys themselves, and configuring Accounts and Subaccounts.

Main API keys have the same access as standard keys, but can also be used to manage API keys, and configure Accounts and Subaccounts. Main keys give you the same level of access you get when you use your Account credentials.

Where is my API key?

You can find and create API keys on the Auth tokens & API keys page, Account > API keys & tokens.

Left Navigation Top Navigation
Screen_Shot_2022-10-03_at_11.55.23_AM.png Screen_Shot_2022-10-03_at_11.55.01_AM.png

How can I create API keys?

You can create API keys from the Twilio Console by following these steps:

  1. Navigate to Auth tokens & API keys page.
  2. Click the Create API Key button (top right).
  3. Enter a friendly name for your API key.
  4. Select the key type —Standard or Main.
  5. Click the Create API Key button.

Once the API key has been created, you’ll be presented with the key and a secret. This secret serves as the key’s password, much as your account’s Auth Token serves as the password for your Account SID. Please take note of the secret and ensure that you save it securely, as it is only shown once and can’t be viewed later.

You can also create standard API Keys using the Twilio CLI, SDK, and API as shown in the Twilio documentation.

How can I delete API keys?

You can delete API keys from the Twilio Console by following these steps:

  1. Navigate to Auth tokens & API keys page.
  2. Click the API key you wish to delete.
  3. Click Delete this API key near the bottom of the page.
  4. Click the Delete this API key button from the pop-up which appears.

You can also delete API Keys using the Twilio CLI, SDK, and API as shown in the Twilio documentation.

Have more questions? Submit a request
Powered by Zendesk