Skip to main content

List All Media

GET 

/Accounts/:AccountSid/Messages/:MessageSid/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.

Request

Path Parameters

    AccountSid uuidrequired

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

    MessageSid uuidrequired

    A unique ID that identifies this specific message.

Query Parameters

    DateCreated string
    PageSize integer

Responses

OK

Schema

    uri string
    first_page_uri string
    next_page_uri string
    previous_page_uri string
    page integer
    page_size integer

    media_list

    object[]

  • Array [

  • sid string

    A unique identifier for this media resource.

    date_created string

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

    date_updated string

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

    account_sid uuid

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

    parent_sid boolean

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

    content_type string

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

    uri string

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

  • ]

Loading...