Retrieve Message Media

View as Markdown

Retrieve 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.

Authentication

AuthorizationBasic
SignalWire Basic Authentication using Project ID and API Token. The client sends HTTP requests with the Authorization header containing the word Basic followed by a space and a base64-encoded string of project_id:token. The project ID will be used as the username and the API token as the password. Example: ``` Authorization: Basic base64(project_id:token) ```

Path parameters

AccountSidstringRequiredformat: "uuid"
The unique identifier of the project that sent or received this message.
MessageSidstringRequiredformat: "uuid"
A unique ID that identifies this specific message.
SidstringRequiredformat: "uuid"
A unique ID that identifies this specific message.

Response

The request has succeeded.
account_sidstringformat: "uuid"
The unique identifier for the account.
content_typestring
The content type of the media.
date_createdstring
The date, in RFC 2822 GMT format, this media was created.
date_updatedstring
The date, in RFC 2822 GMT format, this media was updated.
parent_sidstringformat: "uuid"
The unique identifier for the message.
sidstringformat: "uuid"
The unique identifier for the media.
uristring
The URI for the media.

Errors