LettermintLettermint
  • Knowledge base
  • Community
  • Changelog
  • Support
  • Documentation
  • Sending API
  • Team API
Information
Send
    Send an emailpostSend multiple emails in a batchpost
Generic
    Ping the APIget
Schemas
Lettermint Sending API
Lettermint Sending API

Schemas


MessageStatus

string · enum
Enum values:
pending
queued
suppressed
processed
delivered
opened
clicked
soft_bounced

SendMailRequest

from
​string · required
subject
​string · maxLength: 998 · required
to
​string[] · minItems: 1 · required
route
​string
tag
​string | null

Tag to categorize and filter emails (alphanumeric, underscores, hyphens, spaces allowed).

html
​string | null · minLength: 3
text
​string | null · minLength: 3
cc
​string[]
bcc
​string[]
reply_to
​string[]
​object

Custom headers to include in the email.

​object

Metadata to track with the email (not added as email headers).

settings
​object | null

Per-email settings that override the selected route settings for this email only.

​object[]

SendBatchMailRequest

​object[] · minItems: 1
from
​string · required
to
​string[] · minItems: 1 · required
subject
​string · maxLength: 998 · required
route
​string
cc
​string[]
bcc
​string[]
reply_to
​string[]
headers
​string[]

Custom headers to include in the email.

metadata
​string[]

Metadata to track with the email (not added as email headers).

tag
​string | null

Tag to categorize and filter emails (alphanumeric, underscores, hyphens, spaces allowed).

settings
​object | null

Per-email settings that override the selected route settings for this email only.

html
​string | null · minLength: 3
text
​string | null · minLength: 3
​object[]
On this page
  • MessageStatus
  • SendMailRequest
  • SendBatchMailRequest