upsert_conversation_draft
Saves or updates a caller's conversation draft as a reply or private note, rejecting blank content when metadata is empty. Use it to persist draft messages before sending.
Instructions
Save Conversation Draft
Saves or updates the caller's draft for a conversation. type defaults to reply. The request is rejected with 400 when content is blank and meta is empty or {}, and when meta is larger than 32 KB. The caller must have access to the conversation.
POST /api/v1/conversations/{uuid}/draft
Tags: Conversations
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | (body) Free-form JSON stored with the draft, at most 32 KB. The code does not constrain its shape. | |
| type | No | (body) Draft type. Defaults to `reply` when omitted or empty. | reply |
| uuid | Yes | Conversation UUID (path parameter) | |
| content | No | (body) Draft content (HTML). Inline images are rewritten to cid: references on save. |