API
Update a draft
A partial update: fields you omit are left exactly as they were.
PATCHapi.openemail.uk/drafts/{id}
Runs the real call against your workspace, with your own key.
PATCH /drafts/{id}
A partial update: fields you omit are left exactly as they were.
Example
Needs drafts:write.
curl -X PATCH "$OE/drafts/draft-fdc85673-…" -H "$AUTH" -H "Content-Type: application/json" \ -d '{ "subject": "Revised subject" }'{ "object": "draft", "id": "draft-fdc85673-…" }Read the id back from the response rather than reusing the one you sent.