Create email suppression batch

Suppresses up to 1000 addresses at once, with a result for each.

POST
/email/suppressions/batch

Suppresses up to 1000 addresses at once, with a result for each.

Authorization

headerAuthorizationBearer <Relevate API key>

Relevate API key scoped to the operation's product and environment.

Request Body

application/json
  1. body
suppressions*array<>

1 to 1000 suppressions. Each is checked on its own: one bad item doesn't stop the rest.

Items1 <= items <= 1000

Response Body

One result per item, in request order: created, exists or invalid with an error.

application/json
  1. response
api_version*string
data*
Example Request
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
      }
    ]
  }
}