Retrieve a list of Message resources associated with a Twilio Account
/2010-04-01/Accounts/{AccountSid}/Messages.json Retrieve a list of Message resources associated with a Twilio Account
Parameters
path Path Parameters
| Name | Type |
|---|---|
AccountSid
required
The SID of the Account associated with the Message resources. | `AC${string}` |
query Query Parameters
| Name | Type |
|---|---|
To Filter by recipient. For example: Set this | string |
From Filter by sender. For example: Set this | string |
DateSent Filter by Message | string |
DateSent< Filter by Message | string |
DateSent> Filter by Message | string |
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
OK
messages?:
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;
}