Lettermint Sending API
string · requiredstring[] · minItems: 1 · requiredstring · maxLength: 998 · requiredstringstring[]string[]string[]string | nullobject | nullstring | null · minLength: 3string | null · minLength: 3string · requiredstring[] · minItems: 1 · requiredstring · maxLength: 998 · requiredstringstring[]string[]string[]string[]string[]string | nullobject | nullstring | null · minLength: 3string | null · minLength: 3
Schemas
MessageStatus
string · enum
Enum values:
pending
queued
suppressed
processed
delivered
opened
clicked
soft_bounced
SendMailRequest
fromtosubjectrouteccbccreply_toobject
Custom headers to include in the email.
Example: {"X-Custom-Header":"custom-value","X-Campaign-ID":"12345"}
object
Metadata to track with the email (not added as email headers).
Example: {"user_id":"123","campaign_id":"welcome-2025"}
tagTag to categorize and filter emails (alphanumeric, underscores, hyphens, spaces allowed).
Example: welcome-email
settingsPer-email settings that override the selected route settings for this email only.
Example: {"track_opens":false,"track_clicks":true}
htmltextobject[]
SendBatchMailRequest
object[] · minItems: 1
fromtosubjectrouteccbccreply_toheadersCustom headers to include in the email.
Example: {"X-Custom-Header":"custom-value","X-Campaign-ID":"12345"}
metadataMetadata to track with the email (not added as email headers).
Example: {"user_id":"123","campaign_id":"welcome-2025"}
tagTag to categorize and filter emails (alphanumeric, underscores, hyphens, spaces allowed).
Example: welcome-email
settingsPer-email settings that override the selected route settings for this email only.
Example: {"track_opens":false,"track_clicks":true}
htmltextobject[]