Mailly文档

Get a standalone mail draft

GET
/mail-drafts

Each pending draft includes review_url: a private link where a person can read the exact email (from, to, subject, body) and send or discard it without signing in. Anyone with the link can do that, so share it only with the person who should decide. It expires after review_expires_at, and stops working once the draft is sent, discarded or edited (an edit returns a new link). Other drafts have review_url null.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Mailly API key(Authorization: Bearer )

Query Parameters

thread_id?string
Lengthlength <= 128

Response Body

Draft action succeeded

application/json
  1. response
success*boolean
[key: string]?unknown
curl -X GET 'https://api.mailly.site/mail-drafts'
{  "success": true,  "property1": null,  "property2": null}