Inboxes

Retrieve a draft

One draft, sent or not. Requires the inbound:read scope.

get/v1/inboxes/{inbox_id}/drafts/{draft_id}

Request

  • Base URL: https://smtpfa.st/api
  • URL: https://smtpfa.st/api/v1/inboxes/{inbox_id}/drafts/{draft_id}
  • Auth: HTTP bearer

Path parameters

inbox_idstring required

The inbox id or its email address

draft_idstring required

The draft id

Response

The draft

objectstring
idstring
type'standalone' | 'reply'
tostring[] nullable
ccstring[]
bccstring[]
subjectstring nullable
htmlstring nullable
textstring nullable
thread_idstring nullable
reply_to_email_idstring nullable
email_idstring nullable

The queued email once sent

created_atstring date-time
updated_atstring date-time
created_via'api' | 'dashboard'

Who wrote the draft. Not in Resend.

sent_atstring date-time nullable

Not in Resend

revisioninteger

Goes up with every edit. Pass it to send or update to act only on this version. Not in Resend.

thread_subjectstring nullable

The subject of the thread a reply draft answers. Not in Resend.

Example response

{
  "object": "inbox_draft"
}

Changes

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