Attachment
Downloads the attachment body by the attachment ID, stream ID, and message ID.
Downloads the attachment body by the attachment ID, stream ID, and message ID.
Stream ID
The attachment ID (Base64-encoded)
The ID of the message containing the attachment
Session authentication token.
Key Manager authentication token.
Attachment body as Base64 encoded string.
Client error, see response body for further details.
Unauthorized: Session tokens invalid.
Forbidden: Caller lacks necessary entitlement.
Server error, see response body for further details.
GET /agent/v1/stream/{sid}/attachment?fileId=text&messageId=text HTTP/1.1
Host: youragentURL.symphony.com
sessionToken: text
keyManagerToken: text
Accept: */*
Ynl0ZXM=
🚧 NoteA 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?