drafts

Get a draft

Returns a draft's public shape. Requires can_read. Missing, cross-account, cross-mailbox (for a bound key), and tombstoned (sent/rejected/deleted) drafts all collapse to a byte-identical 404 (anti-enumeration).

get/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

Response

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.