Mailboxes

Get a draft

Returns one of the caller's drafts, or the draft of a send waiting for approval when the caller may approve it.

get/v1/mailboxes/{id}/drafts/{draftId}

Request

  • Base URL: https://api.samva.dev
  • URL: https://api.samva.dev/v1/mailboxes/{id}/drafts/{draftId}
  • Auth: API key in header x-api-key

Path parameters

idstring required
draftIdstring required

Response

MailboxDraft

idstring required
channel'email' required
threadIdstring required
inReplyToMessageIdstring required
state'saved' | 'locked' | 'sent' required
lockedByActionIdstring required
tostring[] required
subjectstring nullable required
createdAtstring required
updatedAtstring required
endpointIdstring required
ccstring[] required
bccstring[] required
replyTostring[] required
htmlstring nullable required
textstring nullable required

Changes

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