/inboxes/{inbox_id}/draftsCreate an inbox draft
Creates an unsent draft in an inbox, either as a new thread or as a reply in an existing thread. Supply at least one non-empty recipient, subject, body, or attachment field; reply drafts require both thread_id and reply_to_email_id. If a reply draft already exists for the target email, the response returns its ID and only a supplied attachments value is applied.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Draft recipients, content, and optional reply-thread details and attachments. For a reply draft, provide both thread_id and reply_to_email_id.
The inbox_id path parameter must be a UUID. At least one of to, cc, bcc, subject, text, html, or attachments must be non-empty, and the combined recipient count across to, cc, and bcc cannot exceed 50. Supply thread_id and reply_to_email_id together or omit both; each attachment must include non-empty base64 content, filename, and content_type.