Drafts

Create Draft

post/api/v1/mail/mailboxes/{email_address}/drafts

Request

  • Base URL
    https://api.inkbox.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.inkbox.ai/api/v1/mail/mailboxes/{email_address}/drafts
  • Auth
    • HTTP bearer
    • or API key in header X-API-Key

Path parameters

email_addressstring required

Headers

Idempotency-Keystring nullable

Request body

subjectstring nullable
body_textstring nullable
body_htmlstring nullable
reply_tostring email nullable
thread_idstring uuid nullable
in_reply_to_message_idstring nullable
referencesstring[] nullable
track_opensboolean
forward_message_idstring uuid nullable
forward_mode'inline' | 'wrapped'
include_original_attachmentsboolean
forward_note_textstring nullable
forward_note_htmlstring nullable

Response

Successful Response

idstring uuid required
mailbox_idstring uuid required
from_addressstring required
to_addressesstring[]
cc_addressesstring[]
bcc_addressesstring[]
subjectstring nullable
snippetstring nullable
has_attachmentsboolean
attachment_countinteger
generationinteger required
send_state'draft' | 'sending' | 'uncertain' required
track_opensboolean
created_atstring date-time required
updated_atstring date-time required
body_textstring nullable
body_htmlstring nullable
reply_tostring nullable
thread_idstring uuid nullable
message_idstring nullable
in_reply_tostring nullable
referencesstring[]
forward_source_message_idstring uuid nullable
forward_note_textstring nullable
forward_note_htmlstring nullable

Changes

No recorded changes to this operation across all 39 revisions of this API.