Skip to contentSkip to navigationSkip to topbar
On this page

REST API: Credentials


The Credentials API helps you manage Public Keys or Amazon Web Services (AWS) credentials in your Twilio account.


API Base URL

api-base-url page anchor

All URLs in the Credentials API reference documentation use the following base URL:

1
https://accounts.twilio.com/v1/Credentials
2

The API is served over HTTPS. To ensure data privacy, unencrypted HTTP isn't supported.


The Credentials API uses the same HTTP Basic Authentication as other Twilio APIs. Use your Twilio account SID as your username and your Auth Token as your password. For example:

1
curl -G https://accounts.twilio.com/v1/Credentials/PublicKeys \
2
-u '[YOUR ACCOUNT SID]:[YOUR AUTH TOKEN]'

To find your account SID and auth token, go to the API Keys & tokens(link takes you to an external page) section of the console. In production environments, you should use API keys to authenticate API requests.


To interact with the Credentials endpoints, consider using the Twilio Helper Libraries.


The Credentials API contains the following resources:

ResourceDescription
PublicKeysManage user-provided public keys.
AWSManage user-provided AWS credentials.