List Message Media
List all media for a message.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Messaging.
Learn more about API scopes.
Path parameters
Universal Unique Identifier.
The unique identifier of the project that sent or received this message.
Universal Unique Identifier.
A unique ID that identifies this specific message.
Query parameters
Only return media created on this particular date, formatted as YYYY-MM-DD in UTC.
Only return media created before this date, formatted as YYYY-MM-DD in UTC.
Only return media created after this date, formatted as YYYY-MM-DD in UTC.
The page number to retrieve. Default is 0.
The number of items per page. Default is 50, maximum is 1000.
The token for cursor-based pagination. Must start with 'PA' or 'PB'.
Response
The request has succeeded.
Example response
{
"uri": "/api/laml/2010-04-01/Accounts/ea108133-d6b3-407c-9536-9fad8a929a6a/Messages/0a059168-ead0-41af-9d1f-343dae832527/Media?Page=0&PageSize=50",
"first_page_uri": "/api/laml/2010-04-01/Accounts/ea108133-d6b3-407c-9536-9fad8a929a6a/Messages/0a059168-ead0-41af-9d1f-343dae832527/Media?Page=0&PageSize=50",
"page_size": 50,
"media_list": [
{
"content_type": "image/jpeg",
"date_created": "Mon, 13 Aug 2018 21:38:46 +0000",
"date_updated": "Mon, 13 Aug 2018 21:38:46 +0000",
"uri": "/api/laml/2010-04-01/Accounts/ea108133-d6b3-407c-9536-9fad8a929a6a/Messages/0a059168-ead0-41af-9d1f-343dae832527/Media/b3877c40-da60-4998-90ad-b792e98472me.json"
}
]
}