drafts

Edit a draft's envelope

Merges to/subject/text over the stored draft and re-validates the recipient through the send path's single-recipient guard. Requires can_send. The reply context is immutable: supplying reply_to_message_id is rejected 400.

patch/api/v1/drafts/{id}

Request

  • Base URL: https://postfleet.ai
  • URL: https://postfleet.ai/api/v1/drafts/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Request body

tostring

New single-recipient address.

subjectstring
textstring

Response

Updated draft.

idstring required
mailbox_idstring required
status'draft' | 'pending_approval' | 'sending' | 'sent' | 'rejected' required
tostring nullable
subjectstring required
textstring required
reply_to_message_idstring nullable
requires_humanboolean required
thread_idstring required
created_atstring required
updated_atstring required

Changes

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