All endpoints

Get a draft

GEThttps://anjal.app/v1/inboxes/{id}/drafts/{did}

Path parameters

id
required
string

Inbox UUID

did
required
string

Draft UUID

Responses

200application/jsonOK
id
string

format: uuid

inboxId
string

format: uuid

to
string[]
cc
string[]
bcc
string[]
subject
string
plainBody
string
htmlBody
string
replyToMessageId
string

format: uuid

labels
string[]

Applied to the message when the draft is sent.

sendAt
string

When Anjal will send this draft. Null if not scheduled.

format: date-time

sendError
string

Why the last scheduled send failed. The draft is kept and `sendAt` is cleared.

createdAt
string

format: date-time

updatedAt
string

format: date-time

Authentication

Send your API key in the X-API-Key header (or Authorization: Bearer <key>). Any prefix accepted by this endpoint — tk_, wk_, ak_, or sa_ — is documented in the key prefix table.