Send an email (alias)
Changed onIdentical to POST /emails; kept for clients that expect this path.
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
Accepted and queued.
Example response
{
"id": "em_8c1f3a2b9d4e5f60718293a4"
}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 therequest 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