List
Use this endpoint for the Media method to return a paged list of media belonging to this message. The most recent media will appear first.
Path parameters
AccountSid
The unique identifier of the project that sent or received this message.
MessageSid
A unique ID that identifies this specific message.
Query parameters
DateCreated
Only return media created on this particular date, formatted as YYYY-MM-DD in UTC.
DateCreated<
Only return media created before this date, formatted as YYYY-MM-DD in UTC.
DateCreated>
Only return media created after this date, formatted as YYYY-MM-DD in UTC.
Page
The page number to retrieve. Default is 0.
PageSize
The number of items per page. Default is 50, maximum is 1000.
PageToken
The token for cursor-based pagination. Must start with 'PA' or 'PB'.
Response
uri
The URI of the current page.
first_page_uri
The URI of the first page.
next_page_uri
The URI of the next page, or null if there are no more pages.
previous_page_uri
The URI of the previous page, or null if this is the first page.
page
The current page number.
page_size
The number of items per page.
media_list
List of media.
Response