Send up to 100 emails
Changed onEach 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).
Request
- Base URLhttps://api.poststack.dev
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://poststack.dev/oauth/authorizeToken URLhttps://poststack.dev/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
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 to320 - warning
the
///request property's maxLength was set to320 - warning
the
//request property's maxLength was set to998 - warning
the
//request property's maxLength was set to320 - warning
the
///request property's maxLength was set to320
- warning
- breaking
the
//request property type changed fromstringto no type, and format fromdate-timeto no format - info
added
subschema #1subschema #2to the//request propertyanyOflist - 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//
- breaking