Send Email

POST /api/v1/send

Quick Start

Send Transactional Emails

Add email sending capability to your application

Ready-to-use instructions for AI coding assistants

Click to view full instructions

Authentication

Include your API key in the Authorization header:

Authorization: Bearer sk_live_YOUR_API_KEY

Request Body

ParameterTypeRequiredDescription
tostring[]YesRecipient email addresses (max 50)
subjectstringYesEmail subject line
htmlstring*HTML body (* html or text required)
textstring*Plain text body (* html or text required)
fromobjectNoSender details (uses default if omitted)
from.emailstringNoSender email (must be verified domain)
from.namestringNoSender display name
ccstring[]NoCC recipients
bccstring[]NoBCC recipients
replyTostringNoReply-to email address
attachmentsobject[]NoFile attachments (max 40MB total)

Attachments

Each attachment object has the following properties:

PropertyTypeDescription
filenamestringFile name (e.g., "invoice.pdf")
contentTypestringMIME type (e.g., "application/pdf")
contentstringBase64-encoded file content

Limits: 10MB per file, 40MB total per email.

curl -X POST https://tigermail.io/api/v1/send \
  -H "Authorization: Bearer sk_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "to": ["user@example.com"],
    "subject": "Your Invoice",
    "html": "<p>Please see the attached invoice.</p>",
    "attachments": [
      {
        "filename": "invoice.pdf",
        "contentType": "application/pdf",
        "content": "JVBERi0xLjQK..."
      }
    ]
  }'

Response

Success (200)

{
  "success": true,
  "id": "clx1234567890",
  "messageId": "0100018f-1234-5678-9abc-def012345678"
}

Errors

StatusDescription
400Validation failed or invalid domain
401Invalid or missing API key
403API key lacks 'send' permission
429Rate limit or usage limit exceeded
500Failed to send email

Rate Limits

Default: 100 requests per minute per API key. Contact support for higher limits.