Send email batch
POST
header
AuthorizationBearer <Relevate API key>Relevate API key scoped to the operation's product and environment.
Idempotency-Key?|1 to 200 characters. Item i is sent with the key <key>:<i>, so retrying the batch with the same key and body replays the items that were accepted and tries the rest again.
application/json- body
items*array<>Up to 100 emails, each a complete send. With an Idempotency-Key
header, item i uses the key <key>:<i>.
Every item was tried; each has its own status. Retry with the same Idempotency-Key to resend only the failed items.
application/json- response
api_version*stringdata*array<>One result per item, in order.
curl -X POST 'https://api.relevate.app/email/emails/batch' \
-H 'Content-Type: application/json' \
-d '{
"items": [
{
"to": "string"
}
]
}'Example Response
{
"api_version": "string",
"data": [
{
"email": {},
"error": {},
"index": 0,
"status": 0
}
]
}