API
Izveidot melnrakstu
Saņēmēji šeit ir masīvi, lai gan krātuve tos glabā apvienotus.
POSTapi.openemail.uk/drafts
Izpilda īstu izsaukumu pret jūsu darbvietu, ar jūsu paša atslēgu.
POST /drafts
Saņēmēji šeit ir masīvi, lai gan krātuve tos glabā apvienotus.
Piemērs
Nepieciešams 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-…" }