API
Create a draft
Recipients are arrays here, even though the store keeps them joined.
POSTapi.openemail.uk/drafts
Runs the real call against your workspace, with your own key.
POST /drafts
Recipients are arrays here, even though the store keeps them joined.
Example
Needs drafts:write.
curl -X POST "$OE/drafts" -H "$AUTH" -H "Content-Type: application/json" \ -d '{ "to": ["[email protected]"], "subject": "Draft subject", "html": "<p>Half a thought.</p>" }'{ "object": "draft", "id": "draft-fdc85673-…" }