send

Edit an unsent draft

Scope: send. Omitted fields are kept. 409 draft_closed once sent or discarded.

patch/v1/drafts/{id}

Request

  • Base URL: https://botmail.pro
  • URL: https://botmail.pro/v1/drafts/{id}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie bm_session

Request body

subjectstring
textstring
htmlstring

Response

The draft.

idstring required

drf_…

mailbox_idstring required
fromstring required
tostring[] required
ccstring[]
bccstring[]
subjectstring required
textstring
htmlstring
reply_to_message_idstring
status'draft' | 'sent' | 'discarded' required
sent_message_idstring
review_urlstring uri

Only in the create response.

created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.