There are two major endpoint categories for this documentation, one for Test credentials and the other for Live credentials.
- Endpoints in Test credentials are accessed using the Test Credentials Account SID and Auth_Token. They allow you to test the Twilio REST API without being charged from your account.
- Endpoints in other categories are accessed using the Live Credentials Account SID and Auth_Token.
Base URL
The Base URL for this documentation is:
Test Credentials
Endpoints | Description |
---|---|
/Accounts/{TestAccountSid}/IncomingPhoneNumbers.json | Test API requests to buy a phone number, without actually doing so |
/Accounts/{TestAccountSid}/Messages.json | Test API requests to send SMS messages without charging your account or sending an SMS. |
/Accounts/{TestAccountSid}/Calls | Test API requests to the outbound call endpoint without charging your account or making a call |
Auth Token
Base URL
https://accounts.twilio.com/v1/
Endpoints | Description |
---|---|
/AuthTokens/Secondary | Create or delete a secondary auth token |
/AuthTokens/Promote | Delete the current primary Auth Token, and promote the secondary Auth Token to primary. |
Accounts
Endpoints | Description |
---|---|
/Accounts.json | Create subaccount/Read multiple accounts |
Accounts/{Sid}.json | Fetch/update account |
/Accounts/{TestAccountSid}/Calls | Test API requests to the outbound call endpoint without charging your account or making a call |