WoyraDocs
Get an API key

Suppress a recipient

POST/v1/suppressions

Suppressions · Requires an API key

Adds a recipient this account will not send to. Only unsubscribe and manual may be set by hand — bounces and complaints are recorded by the platform, and letting a customer assert one would corrupt the deliverability signals routing depends on.

Body

FieldTypeDescription
recipientrequiredstring
reasonstring
One of unsubscribe, manual.

Example

curl -X POST https://api.woyra.io/v1/suppressions \
  -H "Authorization: Bearer $WOYRA_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "recipient": "<recipient>"
  }'

Response

201 The suppression.

FieldTypeDescription
object"suppression"
recipientstring
reasonstring
One of hard_bounce, complaint, unsubscribe, manual.
created_attimestamp

Errors

StatusCodes
400invalid_request, unsupported_version

Also in Suppressions