Email
Send a batch of emails (from an app)
For an app's own server code only: await env.HYPAMOON.sendEmailBatch([{ to, subject, text }, ...]) does this call without an Authorization header; Hypamoon adds the app's key, and any other key gets 403. The rules of POST /emails/batch for the app's project; from is optional per email, as in sendEmail.
post/app-emails/batch
Request
- Base URL: https://api.hypamoon.com/api/v1
- URL: https://api.hypamoon.com/api/v1/app-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: data:write)
Headers
Idempotency-Keystring
Optional. The same key returns the same emails instead of sending them again.
Request body
Response
The same Idempotency-Key as before: the original emails.
Changes
No recorded changes to this operation across all 1 revision of this API.