POST /v1/emails/batch and POST /v1/sms/batch accept up to 1,000 messages. Each item is validated and queued independently, so one bad address never rejects the other 999. The batch counts as one request against the rate limit, which is why bulk sends should use it.
Response (200)
Rules
- Results come back in input order with the item’s
index. - The response is
200even when some items fail. Checkokon each. Idempotency-Keyapplies to the whole batch, not to items. Usetagsto reconcile items with your own records.- Each item is paid for on its own: allowance first, then the wallet, then overage. Once nothing covers a send, the remaining items fail with
allowance_exhausted(orinsufficient_creditson pay as you go) and the earlier ones still go out. - SMS batches debit credits per item; if credits run out part-way, the remaining items fail with
insufficient_creditsand the earlier ones still send.