SUPPORT.TWILIO.COM END OF LIFE NOTICE: This site, support.twilio.com, is scheduled to go End of Life on February 27, 2024. All Twilio Support content has been migrated to help.twilio.com, where you can continue to find helpful Support articles, API docs, and Twilio blog content, and escalate your issues to our Support team. We encourage you to update your bookmarks and begin using the new site today for all your Twilio Support needs.

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
Screenshot 2024-08-01 at 6.20.37 PM.png Screenshot 2024-08-01 at 6.20.57 PM.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