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.
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
400
Client error, see response body for further details.
application/octet-stream
401
Unauthorized: Session tokens invalid.
application/octet-stream
403
Forbidden: Caller lacks necessary entitlement.
application/octet-stream
500
Server error, see response body for further details.
application/octet-stream
get
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?