Skip to content
Sendtier Docs
API reference

Add a recipient to this account's suppression list

Source: OpenAPI (openapi/openapi.yaml).

curl -X POST "https://api.sendtier.example/suppressions" \  -H "Authorization: Bearer st_live_REPLACE_ME" \  -H "Content-Type: application/json" \  -d '{    "email": "user@example.com"  }'
{  "email": "string",  "reason": "bounce",  "created_at": "2019-08-24T14:15:22Z",  "source": "api"}
POST
/suppressions

Requires a full-scope key. Emails are normalized to lower case. Existing entries are returned unchanged.

Authorization

headerAuthorizationBearer <token>

API key: st_live_... or st_test_...

Header Parameters

Idempotency-Key?string

Repeated POST with the same key within 24 h returns the first response.

Lengthlength <= 255

Request Body

application/json
  1. body
email*string
Formatemail
reason?"manual"
Default"manual"
Value in"manual"

Response Body

The existing suppression.

application/json
  1. response
email*string
reason*string
Value in"bounce""complaint""manual"
created_at*string
Formatdate-time
source?string

Manual entries come from the API; bounce and complaint entries come from the provider.

Value in"api""provider"