Attachment

Downloads the attachment body by the attachment ID, stream ID, and message ID.
get
https://youragentURL.symphony.com/agent
/v1/stream/{sid}/attachment
Download an attachment.

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

Parameters
Path
sid*
string
Stream ID
Query
fileId*
string
The attachment ID (Base64-encoded)
messageId*
string
The ID of the message containing the attachment
Header
sessionToken*
string
Session authentication token.
keyManagerToken*
string
Key Manager authentication token.
Responses
200: OK
Attachment body as Base64 encoded string.
400: Bad Request
Client error, see response body for further details.
401: Unauthorized
Unauthorized: Session tokens invalid.
403: Forbidden
Forbidden: Caller lacks necessary entitlement.
500: Internal Server Error
Server error, see response body for further details.

🚧 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 modified 2mo ago