get
https://api.twilio.com/2010-04-01/Accounts.json
This endpoint retrieves the accounts associated with the account that made the API request. This list includes the primary account and any of its subaccounts.
Important Note
When fetching multiple pages of API results, use the provided nextpageuri parameter to retrieve the next page of results. All of the Twilio Helper Libraries use the nextpageuri to page through resources. For more information on paging, refer to the Twilio's response documentation