Skip to navigation

Upload media attachments

Uploads image or video files to attach to a message in a chat session. Send the files as multipart form data.

Authentication

api-keystring

Your Atlas API key. Get it from the Atlas Portal under Settings > API Keys.

Path parameters

campaignIdstringRequired
ID of the campaign.

Request

This endpoint expects a multipart form with multiple files.
filesfilesRequired
sessionIdstringRequired

Response

Media uploaded
urlslist of stringsOptional

Errors

400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error