Emails

Send up to 100 emails

Changed on

Each element is validated as a POST /emails body and sent independently. The response is 202 even when some elements fail: each result is { id } or { error, code? }, in request order (code is set for quota rejections such as monthly_limit_exceeded).

post/emails/batch

Request

Headers

Idempotency-Keystring

Optional dedupe key (printable ASCII, max 64 chars). Used only when the body has no idempotency_key. The official SDKs send one automatically. On batch, element i gets <key>:<i>.

Request body

Response

One result per element, in order.

Changes

    • warning

      the /// request property's maxLength was set to 320

    • warning

      the /// request property's maxLength was set to 320

    • warning

      the // request property's maxLength was set to 998

    • warning

      the // request property's maxLength was set to 320

    • warning

      the /// request property's maxLength was set to 320

    • breaking

      the // request property type changed from string to no type, and format from date-time to no format

    • info

      added subschema #1 subschema #2 to the // request property anyOf list

    • info

      removed the pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$ from the request property //