Skip to main content
POST
Reserve an attachment upload

Behavior

Reserve is step one of three. PUT the file’s bytes to upload_url (no Authorization header; the URL expires in 15 minutes and can write only this one file), then call finalize. The record stays storing until finalize and becomes eligible for removal one hour after reserve if never finalized; the daily cleanup pass removes it. See 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

application/json
content_type
string
required
end_user
string
required
filename
string
required
size_bytes
integer<int64>
required

Response

Created

attachment
object
required
upload_url
string
required
upload_url_expires_at
string
required
source_path
string
Last modified on November 30, 2026