Get a draft
GET
/drafts/{id}Returns a draft as it stands.
Needs the permissiondrafts:read
Path parameters
idstringrequired- The draft.
Returns
idstring- The draft. It keeps this id once it’s sent.
threadIdstring- The conversation it’s in.
mailboxIdstring- The mailbox it will go from, and
from, its address. tolist of strings- With
ccandbcc: its recipients. subjectstring- Its subject.
bodyHtmlstring- Sanitised, with the mailbox’s signature: what will be sent.
updatedAtstring- When it last changed.
Errors
401invalid_key- The key is wrong, expired or revoked. With no Authorization header at all, the code is
missing_credentials. 403missing_scope- The key doesn’t have
drafts:read. TheX-Required-Scopeheader names what’s missing. 404not_found- There’s no such draft, or the key’s owner can’t see it.
429rate_limited- More than 120 requests a minute from this key. Wait for
Retry-Afterseconds.