Skip to the documentation
API

List drafts

Rows are ids. Fetch one to read it.

GETapi.openemail.uk/drafts

Runs the real call against your workspace, with your own key.

GET /drafts

Rows are ids. Fetch one to read it.

Example

Needs drafts:read. pageToken is opaque and its shape depends on the sort, so pass back what you were given.

curl
curl "$OE/drafts?limit=25" -H "$AUTH"
Response
{  "object": "list",  "data": [{ "object": "draft", "id": "draft-fdc85673-…" }],  "nextPageToken": null}