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
Suppresses one address. Adding one that is already suppressed for that scope changes nothing and returns the existing suppression with 200.
header
AuthorizationBearer <Relevate API key>Relevate API key scoped to the operation's product and environment.
application/json- body
One address to suppress.
address*stringnote?|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*stringservice blocks every message to the address; marketing blocks
marketing email only.
The address was already suppressed for that scope.
application/json- response
api_version*stringdata*One suppressed address.
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"
}
}