v50

latestOpenAPI 3.0.1Apache 2.0raw.githubusercontent.com2026-05-061971481.8 MB
Api20100401Message

Retrieve a list of Message resources associated with a Twilio Account

Retrieve a list of Message resources associated with a Twilio Account

get/2010-04-01/Accounts/{AccountSid}/Messages.json

Path parameters

AccountSidstring required

The SID of the Account associated with the Message resources.

Query parameters

Tostring phone-number

Filter by recipient. For example: Set this parameter to +15558881111 to retrieve a list of Message resources sent to +15558881111.

Fromstring phone-number

Filter by sender. For example: Set this parameter to +15552229999 to retrieve a list of Message resources sent by +15552229999.

DateSentstring date-time

Filter by Message sent_date. Accepts GMT dates in the following formats: YYYY-MM-DD (to find Messages with a specific sent_date), <=YYYY-MM-DD (to find Messages with sent_dates on and before a specific date), and >=YYYY-MM-DD (to find Messages with sent_dates on and after a specific date).

DateSent<string date-time

Filter by Message sent_date. Accepts GMT dates in the following formats: YYYY-MM-DD (to find Messages with a specific sent_date), <=YYYY-MM-DD (to find Messages with sent_dates on and before a specific date), and >=YYYY-MM-DD (to find Messages with sent_dates on and after a specific date).

DateSent>string date-time

Filter by Message sent_date. Accepts GMT dates in the following formats: YYYY-MM-DD (to find Messages with a specific sent_date), <=YYYY-MM-DD (to find Messages with sent_dates on and before a specific date), and >=YYYY-MM-DD (to find Messages with sent_dates on and after a specific date).

PageSizeinteger

How many resources to return in each list page. The default is 50, and the maximum is 1000.

Pageinteger

The page index. This value is simply for client state.

PageTokenstring

The page token. This is provided by the API.

Response

OK

endinteger
first_page_uristring uri
next_page_uristring uri nullable
pageinteger
page_sizeinteger
previous_page_uristring uri nullable
startinteger
uristring uri