Attachment

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

Download an attachment.

get

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

Path parameters
sidstringRequired

Stream ID

Query parameters
fileIdstringRequired

The attachment ID (Base64-encoded)

messageIdstringRequired

The ID of the message containing the attachment

Header parameters
sessionTokenstringRequired

Session authentication token.

keyManagerTokenstringRequired

Key Manager authentication token.

Responses
200
Attachment body as Base64 encoded string.
application/octet-stream
Responsestring · byte
get
GET /agent/v1/stream/{sid}/attachment?fileId=text&messageId=text HTTP/1.1
Host: youragentURL.symphony.com
sessionToken: text
keyManagerToken: text
Accept: */*
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

Was this helpful?