latestOpenAPI 3.1.02026-08-10390815.4 KB

e5f3dccae7ca

Attachments

Download a message attachment

Retrieves a file that was attached to a message. The response includes the file's content as a base64-encoded string.

post/messages/attachments/download

Headers

X-Affiliate-Idinteger required

Include here your Affiliate identifier number

Request body

conversationstring required

The unique identifier of the conversation that contains the attachment.

accommodationstring required

The unique identifier of the property where the conversation occurred.

attachmentstring required

The unique identifier of the attachment to download.

Response

Attachment successfully retrieved.

request_idstring

A unique ID for this request. Please include this when contacting support.