Skip to main content
POST
/
v1
/
suppressions
Add a suppression
curl --request POST \
  --url https://api.drin.run/v1/suppressions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "jsmith@example.com",
  "reason": "<string>"
}
'
{
  "email": "jsmith@example.com",
  "reason": "bounce",
  "createdAt": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://drin.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Your Drin API key, sent as Authorization: Bearer <key>.

Headers

X-Drin-Product
string

Names the sending project for account-wide keys (alias: X-Drin-Sender). Project-scoped keys may omit it.

Body

application/json
email
string<email>
required
reason
string

Response

201 - application/json

The suppression.

email
string<email>
reason
string
Example:

"bounce"

createdAt
string<date-time>