Skip to main content
POST
Finalize an attachment upload

Behavior

Finalize reads the bytes that arrived, measures their size, and checks their type against their content; what was declared at reserve time is not trusted. It is safe to repeat. When a standalone reservation’s bytes and filename are identical to a ready attachment this conversation already holds for the same end user, the response is that existing record, with its own id, and the new reservation is retired; so use the id from this response. A folder member is never reused this way: two identical files at two paths in one folder stay two attachments. 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).

attachmentID
string
required

The attachment's id.

Body

application/json
end_user
string
required

Response

OK

attachment
object
required
Last modified on November 30, 2026