---
title: "Send a batch of emails"
method: POST
path: "/emails/batch"
tags: ["Emails"]
---

# Send a batch of emails

`POST /emails/batch`

## Request

- Base URL: `https://api.mepmail.dev`
- URL: `https://api.mepmail.dev/emails/batch`
- Auth: HTTP bearer

Queues up to 100 different emails in one request; each item is a send request.

## Headers

- `Idempotency-Key` string

## Request body

- unknown[]
  - unknown

## Response `200`

Batch accepted

- BatchEmailResponse
  - `data` object[], required
    - `id` string, uuid, required
  - `errors` object[]
    - `index` integer, required
    - `message` string, required

## Other responses

- `401`: Missing, malformed or invalid API key
- `403`: Restricted API key
- `404`: Not found
- `409`: Idempotency conflict
- `422`: Validation error
- `429`: Sending quota exceeded, or the rate limit was exceeded (see Retry-After)

---

[API](https://skmtc.dev/mepmail/apis/mepmail-api.md) · [All operations](https://skmtc.dev/mepmail/apis/mepmail-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mepmail/apis/mepmail-api/revisions/262a89f73730?raw)
