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

List drafts

GET/drafts

Lists the drafts the key’s owner has started, newest first.

Needs the permissiondrafts:list

A draft belongs to the person writing it, not to the mailbox, so a colleague’s half-written mail isn’t listed, even in a shared mailbox.

Returns

A list of drafts, each with:

idstring
The draft.
threadIdstring
The conversation it’s in.
mailboxIdstring
The mailbox it will go from.
subjectstring
Its subject.
tolist of strings
Its recipients.
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:list. The X-Required-Scope header names what’s missing.
429rate_limited
More than 120 requests a minute from this key. Wait for Retry-After seconds.
curl https://app.dmu.email/api/v1/drafts \
  -H "Authorization: Bearer dmk_7f3a9c2e1b4d_Xq8v…"

Response

200 OK

{
  "data": [
    {
      "id": "8c1e2f4a",
      "threadId": "f3d86b25",
      "mailboxId": "9e53e6ba",
      "subject": "Your delivery is booked",
      "to": ["maria@example.com"],
      "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.