v20
latestOpenAPI 3.1.02026-08-08122113375.9 KBconversations
Finalize attachment
Finalize an uploaded message attachment and save it to the message.
Use this endpoint after the direct upload to confirm the attachment.
Behavior:
- Validates conversation membership and message ownership.
- Rejects unsafe images when moderation fails.
patch/conversations/{id}/messages/{messageId}/attachments
Path parameters
idstring required
Conversation ID
Conversation ID
messageIdstring required
Message ID
Message ID
Request body
Response
Attachment saved