Skip to main content
POST
/
emails
/
bulk
Send bulk emails
curl --request POST \
  --url https://api.sendkit.dev/emails/bulk \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "emails": [
    {
      "to": "user@example.com",
      "from": "Your Name <hello@yourdomain.com>",
      "subject": "Welcome to SendKit",
      "html": "<h1>Hello!</h1><p>Welcome aboard.</p>",
      "text": "Hello! Welcome aboard.",
      "cc": [
        "<string>"
      ],
      "bcc": [
        "<string>"
      ],
      "reply_to": [
        "<string>"
      ],
      "headers": {},
      "tags": [
        {
          "name": "campaign",
          "value": "welcome"
        }
      ],
      "scheduled_at": "2023-11-07T05:31:56Z",
      "attachments": [
        {
          "filename": "invoice.pdf",
          "content": "JVBERi0xLjQKJeLj...",
          "content_type": "application/pdf"
        }
      ],
      "template": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "variables": {}
      }
    }
  ]
}
'
{
  "data": [
    {
      "status": "success",
      "id": "550e8400-e29b-41d4-a716-446655440000"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key from your SendKit dashboard. Pass it as a Bearer token in the Authorization header.

Body

application/json
emails
object[]
required

Array of email objects to send. Each email is independent with its own recipient, content, and options. You can also send a plain JSON array (without the emails wrapper key).

Required array length: 1 - 100 elements

Response

Emails accepted for delivery

data
object[]

Array of results in the same order as the input. Each entry indicates success or error.

Successful email.