POST /messages/attachments/upload

Uploads a file to be used as a message attachment. The response includes an attachment ID to reference when sending messages.

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

X-Affiliate-Id Integer Yes

Include here your Affiliate identifier number

Request body fields

Name Type Required Description
file_size Integer Yes

Size of the file in bytes.

conversation String Yes

Unique identifier of the conversation.

file_type String Yes

MIME type of the file.

file_name String Yes

Original file name including extension.

file_content String Yes

Base64-encoded content of the file.

accommodation String Yes

Unique identifier of the property.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.