Skip to main content

List All Media

Returns a paged list of media belonging to this message sorted with the most recent media appearing first.

Permissions

The API token must include the following scopes: Messaging.

Path Parameters
AccountSid uuid REQUIRED

The unique identifier of the project that sent or received this message.

MessageSid uuid REQUIRED

A unique ID that identifies this specific message.

Query Parameters
DateCreated string

The date and time the message was sent in RFC 2822 format.

PageSize integer

Specify the number of results to return on a single page. The default page size is 50 and the maximum is 1000.

Responses
200

OK

Schema OPTIONAL
uri string OPTIONAL
first_page_uri string OPTIONAL
next_page_uri string OPTIONAL
previous_page_uri string OPTIONAL
page integer OPTIONAL
page_size integer OPTIONAL
media_list object[] OPTIONAL
sid string OPTIONAL

A unique identifier for this media resource.

date_created string OPTIONAL

The date and time the message was sent in RFC 2822 format.

date_updated string OPTIONAL

The date and time the message was sent in RFC 2822 format.

account_sid uuid OPTIONAL

The unique identifier of the project that sent or received this message.

parent_sid boolean OPTIONAL

The unique identifier of the resource that created this media resource.

content_type string OPTIONAL

The mime-type of the media file, for example image/gif.

uri string OPTIONAL

The URI for this resource, relative to your base URL.