Create email suppression batch
Suppresses up to 1000 addresses at once, with a result for each.
POST
Suppresses up to 1000 addresses at once, with a result for each.
header
AuthorizationBearer <Relevate API key>Relevate API key scoped to the operation's product and environment.
application/json- body
suppressions*array<>1 to 1000 suppressions. Each is checked on its own: one bad item doesn't stop the rest.
Items
1 <= items <= 1000One result per item, in request order: created, exists or invalid with an error.
application/json- response
api_version*stringdata*curl -X POST 'https://api.relevate.app/email/suppressions/batch' \
-H 'Content-Type: application/json' \
-d '{
"suppressions": [
{
"address": "string",
"scope": "string"
}
]
}'Example Response
{
"api_version": "string",
"data": {
"created": 0,
"existing": 0,
"invalid": 0,
"results": [
{
"address": "string",
"error": null,
"index": 0,
"status": "string",
"suppression": null
}
]
}
}