Skip to main content
POST
/
send
cURL
curl --request POST \
  --url https://api.lettermint.co/v1/send \
  --header 'Content-Type: application/json' \
  --data '{
  "route": "<string>",
  "from": "<string>",
  "subject": "<string>",
  "tag": "\"welcome-email\", \"Welcome_Email\", \"Order Confirmation 2024\"",
  "html": "<string>",
  "text": "<string>",
  "to": [
    "<string>"
  ],
  "cc": [
    "<string>"
  ],
  "bcc": [
    "<string>"
  ],
  "reply_to": [
    "<string>"
  ],
  "headers": {
    "X-Custom-Header": "custom-value",
    "X-Campaign-ID": "12345"
  },
  "metadata": {
    "user_id": "123",
    "campaign_id": "welcome-2025"
  },
  "attachments": [
    {
      "filename": "<string>",
      "content": "<string>",
      "content_id": "<string>"
    }
  ]
}'
{
  "message_id": "<string>",
  "status": "pending"
}

Headers

x-lettermint-token
string
Idempotency-Key
string

Body

application/json
from
string
required
subject
string
required
Maximum length: 998
to
string[]
required
route
string
tag
string | null

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

Example:

"\"welcome-email\", \"Welcome_Email\", \"Order Confirmation 2024\""

html
string | null
Minimum length: 3
text
string | null
Minimum length: 3
cc
string[]
bcc
string[]
reply_to
string[]
headers
object

Custom headers to include in the email.

Example:
{
"X-Custom-Header": "custom-value",
"X-Campaign-ID": "12345"
}
metadata
object

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

Example:
{
"user_id": "123",
"campaign_id": "welcome-2025"
}
attachments
object[]

Response

message_id
string
required
status
enum<string>
required
Available options:
pending,
queued,
suppressed,
processed,
delivered,
soft_bounced,
hard_bounced,
spam_complaint,
failed,
blocked,
policy_rejected,
unsubscribed
I