Retrieve a suppression
GET /suppressions/{suppression}
Fetches one suppression entry belonging to the authenticated team by either its UUID or its suppressed email address, including the suppression origin, optional source email identifier, and creation timestamp.
Send a full access API key as a bearer token in the Authorization header. A sending access key is refused.
| Name | Type | Required | Details |
|---|---|---|---|
suppression |
string | Yes | At least 1 characters. |
Status 200, a JSON object.
| Field | Type | Details |
|---|---|---|
object |
suppression |
|
id |
string | Format uuid. Matches ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$. |
email |
string | |
origin |
string | One of bounce, complaint, manual. |
source_id |
string or null | Format uuid. Matches ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$. |
created_at |
string | Matches ^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d{3}\+00$. |
Headers: x-request-id, ratelimit-limit, ratelimit-remaining, ratelimit-reset.
Each error answers with the status below and a JSON body naming the error. Every error has its own entry.
| Status | Names |
|---|---|
| 400 | validation_error |
| 401 | missing_api_key, validation_error, restricted_api_key |
| 403 | validation_error, restricted_api_key, suspended_api_key, terms_acceptance_required |
| 404 | not_found |
| 413 | validation_error |
| 415 | validation_error |
| 422 | validation_error, invalid_parameter |
| 429 | rate_limit_exceeded |
Error headers: x-request-id, ratelimit-limit, ratelimit-remaining, ratelimit-reset, retry-after.
curl -X GET 'https://api.hermesmail.app/suppressions/<suppression>' \
-H "Authorization: Bearer $HERMESMAIL_API_KEY"