Zur Dokumentation springen
API

Einen Entwurf anlegen

Empfänger sind hier Arrays, auch wenn der Speicher sie zusammengefasst hält.

POSTapi.openemail.uk/drafts

Führt den echten Aufruf gegen Ihren Workspace aus, mit Ihrem eigenen Schlüssel.

POST /drafts

Empfänger sind hier Arrays, auch wenn der Speicher sie zusammengefasst hält.

Beispiel

Erfordert drafts:write.

curl
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>"  }'
Antwort
{ "object": "draft", "id": "draft-fdc85673-…" }