Email

Send a batch of emails

Sends 1 to 100 separate emails in one call, like Resend's batch: each email has its own to (and its own text), so everyone sees only their own email, for example a personal invitation per person. Each email follows the rules of POST /emails, except that a batch has no attachments (send those one by one). All or nothing: every email is checked first, and if one is refused, none is sent and the error says which (index). Every email and every recipient counts toward the limits and the bundle; the whole batch is one call for the per-minute limit. An Idempotency-Key (header or idempotency_key) returns the same emails instead of sending them again. With a test key nothing is sent (status simulated).

post/emails/batch

Request

  • Base URL: https://api.hypamoon.com/api/v1
  • URL: https://api.hypamoon.com/api/v1/emails/batch
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://app.hypamoon.com/oauth/authorize, token URL https://api.hypamoon.com/oauth/token, scopes: messages:write)

Headers

Idempotency-Keystring

Optional. The same key returns the same emails instead of sending them again.

Request body

idempotency_keystring

Optional. The same key returns the same emails instead of sending them again (also as the Idempotency-Key header).

Response

The same Idempotency-Key as before: the original emails, and nothing is sent again.

Changes

No recorded changes to this operation across all 1 revision of this API.