Retrieves a collection of Accounts belonging to the account used to make the request
GET
/2010-04-01/Accounts.json https://api.twilio.com
Retrieves a collection of Accounts belonging to the account used to make the request
Parameters
query Query Parameters
| Name | Type |
|---|---|
FriendlyName Only return the Account resources with friendly names that exactly match this name. | string |
Status Only return Account resources with the given status. Can be | type AccountEnumStatus = "active" | "suspended" | "closed" |
PageSize How many resources to return in each list page. The default is 50, and the maximum is 1000. | number |
Page The page index. This value is simply for client state. | number |
PageToken The page token. This is provided by the API. | string |
Responses
200 application/json
OK
{
accounts?:ApiV2010Account [];
end?: number;
first_page_uri?: string;
next_page_uri?: string | null;
page?: number;
page_size?: number;
previous_page_uri?: string | null;
start?: number;
uri?: string;
}
accounts?:
end?: number;
first_page_uri?: string;
next_page_uri?: string | null;
page?: number;
page_size?: number;
previous_page_uri?: string | null;
start?: number;
uri?: string;
}