Base URL
https://app.dmu.email/api/v1
Authentication
Bearer dmk_… API key
Rate limit
120 requests a minute per key

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 cc and bcc: 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. The X-Required-Scope header 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-After seconds.
curl https://app.dmu.email/api/v1/drafts/8c1e2f4a \
  -H "Authorization: Bearer dmk_7f3a9c2e1b4d_Xq8v…"

Response

200 OK

{
  "data": {
    "id": "8c1e2f4a",
    "threadId": "f3d86b25",
    "mailboxId": "9e53e6ba",
    "from": "info@aegeanfreight.gr",
    "to": ["maria@example.com"],
    "cc": [],
    "bcc": [],
    "subject": "Your delivery is booked",
    "bodyHtml": "<p>Your delivery is booked for Tuesday.</p><p>Aegean Freight</p>",
    "updatedAt": "2026-09-27T09:14:05.000Z"
  }
}

Every response wraps its result in data. A page of threads adds nextCursor, which is null on the last page.