Attachment

Downloads the attachment body by the attachment ID, stream ID, and message ID.

Download an attachment.

Downloads the attachment body by the attachment ID, stream ID, and message ID.

GETyouragentURL.symphony.com/agent/v1/stream/{sid}/attachment
Path parameters
sid*string

Stream ID

Query parameters
Header parameters
Response

Attachment body as Base64 encoded string.

Body
string (byte)
Request
const response = await fetch('youragentURL.symphony.com/agent/v1/stream/{sid}/attachment', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
"Ynl0ZXM="

🚧 Note

A successful call returns the attachment body encoded in Base64. Be sure to decode the downloaded attachment.

📘 Attachments

  • Anyone can download attachments from public rooms or rooms with viewHistory enabled.

  • The Content Export service user is able to download attachments even from rooms he is not a member of.

Last updated