Skip to content

Suppression Lists

A suppression list contains email addresses that should not receive emails. RelayPost automatically checks the suppression list before every send and rejects emails to suppressed addresses.

Sending to addresses that have bounced or complained damages your sender reputation. ISPs track this — too many bounces or complaints and your emails start going to spam for everyone.

RelayPost automatically adds addresses to your suppression list when:

  • A hard bounce occurs (mailbox doesn’t exist)
  • A complaint is received (recipient marked your email as spam)

GET /api/v1/suppressions

Terminal window
curl "https://relaypost.dev/api/v1/suppressions?page=1&limit=50" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"data": [
{
"id": "sup_abc123",
"email": "[email protected]",
"reason": "hard_bounce",
"source": "automatic",
"created_at": "2025-01-15T10:30:00.000Z"
}
],
"pagination": {
"page": 1,
"limit": 50,
"total_count": 15,
"total_pages": 1
}
}

POST /api/v1/suppressions

Terminal window
curl -X POST https://relaypost.dev/api/v1/suppressions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"email": "[email protected]",
"reason": "hard_bounce"
}'
FieldTypeRequiredDescription
emailstringYesEmail address to suppress
reasonstringYesOne of: hard_bounce, soft_bounce, complaint, unsubscribe, manual
{
"data": {
"id": "sup_def456",
"email": "[email protected]",
"reason": "hard_bounce",
"source": "manual",
"created_at": "2025-01-15T10:30:00.000Z"
}
}
ReasonDescription
hard_bouncePermanent delivery failure — mailbox doesn’t exist
soft_bounceTemporary delivery failure — mailbox full, server down
complaintRecipient reported the email as spam
unsubscribeRecipient unsubscribed
manualManually added by you

DELETE /api/v1/suppressions/:id

If an address was suppressed by mistake, you can remove it:

Terminal window
curl -X DELETE https://relaypost.dev/api/v1/suppressions/sup_abc123 \
-H "Authorization: Bearer YOUR_API_KEY"
{
"data": {
"id": "sup_abc123",
"deleted": true
}
}

For bulk import and export of suppression lists, use the RelayPost dashboard under Deliverability → Suppression Lists. The dashboard supports CSV import/export for managing large suppression lists.