Retrieve
Use this endpoint for the Media method to retrieve a single media record.
A media object can be returned in several representations:
-
Direct Media: Without specifying an extension, the media is returned directly using the mime-type detected.
-
JSON: By appending
.jsonto the media URL, the JSON representation of the media will be returned.
Path parameters
AccountSid
The unique identifier of the project that sent or received this message.
MessageSid
A unique ID that identifies this specific message.
Sid
A unique ID that identifies this specific message.
Response
account_sid
The unique identifier for the account.
content_type
The content type of the media.
date_created
The date, in RFC 2822 GMT format, this media was created.
date_updated
The date, in RFC 2822 GMT format, this media was updated.
parent_sid
The unique identifier for the message.
sid
The unique identifier for the media.
uri
The URI for the media.
Response