v19

latestOpenAPI 3.1.1raw.githubusercontent.com2026-08-017489931.2 KB

Create a draft email

Creates a draft in the connected email account that owns the from address. Mirrors native email-client behavior: only from is required — to, cc, bcc, subject, messageBody, and attachments are all optional. At least one of those optional fields must be populated; sending only from returns a 400.

Supports idempotency via the Idempotency-Key header.

Required scope: emails:create

Rate limit category: Write

post/v1/emails/draft

Headers

Lightfield-Version'2026-03-01' required

Required API version header. Requests may error without it.

Request body

fromstring required

Bare email address (no display name). Must match a connected email account owned by the API key user. Compared case-insensitively. Mailbox where the draft is created.

tostring[]

Recipient email addresses (bare, no display names). Up to 500.

ccstring[]

Cc recipients (same shape as to).

bccstring[]

Bcc recipients (same shape as to).

subjectstring

Email subject.

attachmentsstring[]

Optional list of file IDs (uploaded via the Files API) to attach to the draft. Maximum 5 attachments per draft, each ≤ 3MB.

Example request

{
  "from": "sales@acme.com",
  "to": [
    "lead@example.com"
  ],
  "cc": [
    "lead@example.com"
  ],
  "bcc": [
    "lead@example.com"
  ],
  "messageBody": {
    "content": "<p>Hi there,</p><p>Following up on our chat earlier this week.</p>"
  },
  "attachments": [
    "file_01abc2def3ghi4jkl5mno6pqr"
  ]
}

Response

OK

draftedAtstring required

ISO 8601 timestamp of when the draft was created.