Skip to main content
POST
Upload an attachment

Behavior

This route takes multipart/form-data with the fields end_user and file, and the body may be up to the per-file limit plus 1 MiB. To send a file straight from a browser to storage, use reserve, a PUT to the returned URL, then finalize. Formats, limits, and the full flow are on Attachments.

Authorizations

Authorization
string
header
required

The org's platform API key.

Path Parameters

instanceSlug
string
required

The conversation instance's slug.

conversationID
string
required

The conversation's id (a UUID).

Body

multipart/form-data
end_user
string
required

The end user the conversation belongs to.

file
file
required

The file's bytes; its part's filename is the attachment's name.

Response

Created

attachment
object
required
Last modified on November 30, 2026