A brief summary of of Twilio endpoints
Authentication Token
| Endpoint | Description | HTTP Method |
|---|---|---|
| /Promote | Endpoint to update primary Auth Token | POST |
| /Secondary | Endpoint to create a Secondary Auth Token | POST |
| /Secondary | Endpoint to delete secondary Auth Token | DELETE |
Account Resources
| Endpoint | Description | HTTP Method |
|---|---|---|
| /Accounts/{MAIN_ACCOUNT_SID}.json | Endpoint to retrieve an account | GET |
| /Accounts.json | Endpoint to retrieve the set of accounts belonging to the Account used to make the API request. | GET |
| Accounts/{MAIN_ACCOUNT_SID}.json | Endpoint to update the properties of an account. | POST |
| /Accounts.json | Endpoint creates a new subaccount | POST |
| /{SUBACCOUNT_SID}.json | Endpoint to retrieve a subaccount resource by its account SID | GET |
| /{SUBACCOUNT_SID}/Messages.json | Endpoint to send messages from a subaccount | POST |
| /Accounts.json | Endpoint to retrieve the subaccount resources with friendly names that match exactly with it. | GET |
| /{SUBACCOUNT_SID}.json | Endpoint to update or change the status of a subaccount | POST |
| /{SUBACCOUNT_SID}/Calls.json | Endpoint to calculate the billing incurred by a subaccount | GET |
Phone Numbers
| Endpoint | Description | HTTP Method |
|---|---|---|
| /{MAIN_ACCOUNT_SID}/AvailablePhoneNumbers/{CountryCode}.json | Endpoint to fetch a available phone number of a specific country | GET |
| /AvailablePhoneNumbers.json | Endpoint to read a list of countries | GET |
| /AvailablePhoneNumbers/{CountryCode}/Mobile.json | Endpoint to find Mobile numbers | GET |
| /AvailablePhoneNumbers/{CountryCode}/TollFree.json | Endpoint to find free toll update | GET |
| /AvailablePhoneNumbers/{CountryCode}/Local.json | Endpoint to find available local phone numbers by area code | GET |
| /{SUBACCOUNT_SID}/Calls.json | Endpoint to make a call from subaccount | POST |
| /IncomingPhoneNumbers/{PhoneNumber}.json | Endpoint to transfer phone numbers from primary account to subaccount | POST |
| /IncomingPhoneNumbers.json | Endpoint to provide a phone number and area code | POST |
| /IncomingPhoneNumbers/{SID}.json | Endpoint to fetch incoming phone number | GET |
| /IncomingPhoneNumbers.json | Endpoint to retrieves all phone number for an account | GET |
| /IncomingPhoneNumbers/{SID}.json | Endpoint to update an phone number resources | POST |
| IncomingPhoneNumbers/{SID}.json | Endpoint to delete phone number | DELETE |
Address
| Endpoint | Description | HTTP Method |
|---|---|---|
| /Addresses.json | Endpoint to create a new address for an account | POST |