curl --request POST \
--url https://api.lettermint.co/v1/send \
--header 'Content-Type: application/json' \
--header 'x-lettermint-token: <api-key>' \
--data '
{
"from": "<string>",
"subject": "<string>",
"to": [
"<string>"
],
"route": "<string>",
"tag": "\"welcome-email\", \"Welcome_Email\", \"Order Confirmation 2024\"",
"html": "<string>",
"text": "<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"
}curl --request POST \
--url https://api.lettermint.co/v1/send \
--header 'Content-Type: application/json' \
--header 'x-lettermint-token: <api-key>' \
--data '
{
"from": "<string>",
"subject": "<string>",
"to": [
"<string>"
],
"route": "<string>",
"tag": "\"welcome-email\", \"Welcome_Email\", \"Order Confirmation 2024\"",
"html": "<string>",
"text": "<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"
}Project-specific Sending API token. Find this in your project settings.
Your project's Sending API token
Optional idempotency key to prevent duplicate sends
998Tag to categorize and filter emails (alphanumeric, underscores, hyphens, spaces allowed).
"\"welcome-email\", \"Welcome_Email\", \"Order Confirmation 2024\""
33