Email API

Batch Send

POST/api/v1/email/batch

Send multiple emails in a single API request. Perfect for newsletters, marketing campaigns, and bulk notifications. Supports up to 100 emails per batch with individual customization.

Maximum 100 emails per batch. Each email can have up to 50 recipients.

Select Language

REQUEST
curl -X POST \
  https://api.sendcomms.com/v1/email/batch \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "emails": [
      {
        "to": "user1@example.com",
        "subject": "Welcome!",
        "html": "<h1>Welcome User 1!</h1>"
      },
      {
        "to": "user2@example.com",
        "subject": "Welcome!",
        "html": "<h1>Welcome User 2!</h1>"
      },
      {
        "to": ["user3@example.com", "user4@example.com"],
        "subject": "Team Update",
        "html": "<p>Important team update...</p>"
      }
    ]
  }'

Request Body

ParameterTypeRequiredDescription
emailsarrayRequiredArray of email objects (max 100)
emails[].tostring | string[]RequiredRecipient email(s)
emails[].subjectstringRequiredEmail subject line
emails[].htmlstringConditionalHTML content (required if no text)
emails[].textstringConditionalPlain text content (required if no html)
emails[].fromstringOptionalSender address (default: verified domain)

Response

Success Response

{
  "success": true,
  "data": {
    "batch_id": "batch_abc123xyz",
    "status": "sent",
    "emails_sent": 3,
    "total_recipients": 4,
    "cost": 0.04,
    "currency": "USD",
    "results": {
      "data": [
        { "id": "email_001" },
        { "id": "email_002" },
        { "id": "email_003" }
      ]
    }
  }
}

Pricing

$0.001
per recipient
$0.01
minimum per email
100
max emails per batch