Create email suppression

Suppresses one address. Adding one that is already suppressed for that scope changes nothing and returns the existing suppression with 200.

POST
/email/suppressions

Suppresses one address. Adding one that is already suppressed for that scope changes nothing and returns the existing suppression with 200.

Authorization

headerAuthorizationBearer <Relevate API key>

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

Request Body

application/json
  1. body

One address to suppress.

address*string
note?|

Why, for your team; up to 500 characters.

reason?|

Only manual, the default. Bounces and complaints are recorded by delivery and unsubscribes by the recipient.

scope*string

service blocks every message to the address; marketing blocks marketing email only.

Response Body

The address was already suppressed for that scope.

application/json
  1. response
api_version*string
data*

One suppressed address.

Example Request
curl -X POST 'https://api.relevate.app/email/suppressions' \
  -H 'Content-Type: application/json' \
  -d '{
  "address": "string",
  "scope": "string"
}'
Example Response
{
  "api_version": "string",
  "data": {
    "address": "string",
    "created_at": "2019-08-24T14:15:22Z",
    "id": "string",
    "note": "string",
    "reason": "string",
    "released_at": "2019-08-24T14:15:22Z",
    "removable": true,
    "scope": "string",
    "status": "string"
  }
}