v50

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

Read a list of Media resources associated with a specific Message resource

Read a list of Media resources associated with a specific Message resource

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

Path parameters

AccountSidstring required

The SID of the Account that is associated with the Media resources.

MessageSidstring required

The SID of the Message resource that is associated with the Media resources.

Query parameters

DateCreatedstring date-time

Only include Media resources that were created on this date. Specify a date as YYYY-MM-DD in GMT, for example: 2009-07-06, to read Media that were created on this date. You can also specify an inequality, such as StartTime<=YYYY-MM-DD, to read Media that were created on or before midnight of this date, and StartTime>=YYYY-MM-DD to read Media that were created on or after midnight of this date.

DateCreated<string date-time

Only include Media resources that were created on this date. Specify a date as YYYY-MM-DD in GMT, for example: 2009-07-06, to read Media that were created on this date. You can also specify an inequality, such as StartTime<=YYYY-MM-DD, to read Media that were created on or before midnight of this date, and StartTime>=YYYY-MM-DD to read Media that were created on or after midnight of this date.

DateCreated>string date-time

Only include Media resources that were created on this date. Specify a date as YYYY-MM-DD in GMT, for example: 2009-07-06, to read Media that were created on this date. You can also specify an inequality, such as StartTime<=YYYY-MM-DD, to read Media that were created on or before midnight of this date, and StartTime>=YYYY-MM-DD to read Media that were created on or after midnight of this 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