Suppressions
Addresses the platform will not send to.
GET /v1/suppressions
List the tenant's suppressed addresses
Entries of the calling tenant only, ordered by emailSha256. Platform-wide
entries are never listed. Expired entries are not returned. Addresses are
stored as SHA-256 digests of the lowercased address.
- Authentication: API key in the
Authorization: Bearerheader - Scopes: at least one of
suppressions:read - operationId:
listSuppressions
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
cursor | query | Cursor | No | Opaque pagination token. Do not parse or build it. |
limit | query | integer | No | Maximum number of items per page, from 1 to 200 (default 50). |
Responses
| Code | Description | Schema |
|---|---|---|
200 | A page of entries. | SuppressionList |
400 | The request is malformed. The body is not valid JSON or not a JSON object, a field is invalid (errors lists each one), a header or query parameter is invalid, or the Content-Type is not application/json where a JSON body is expected (unsupported_media on the control plane). | Problem |
401 | Missing or invalid API key. | Problem |
403 | The API key is not allowed to perform this operation. | Problem |
429 | Rate limit or quota exceeded. | Problem |
500 | Unexpected failure (internal_error). The request may be retried; keep the requestId when contacting support. | Problem |
503 | A dependency (storage, ledger, vault, renderer or mail service) is temporarily unavailable. Retry after the number of seconds in Retry-After when present. | Problem |
POST /v1/suppressions
Suppress an address manually
Adds (or refreshes) a MANUAL entry for the tenant. Without ttlDays the
entry does not expire. Messages to a suppressed address are not sent and the
recipient ends as SUPPRESSED.
- Authentication: API key in the
Authorization: Bearerheader - Scopes: at least one of
suppressions:write - operationId:
addSuppression
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
email | string (email) | Yes | Address to suppress. It is stored as a SHA-256 digest of the lowercased address. |
ttlDays | integer | No | Lifetime of the entry; omitted means no expiry. |
Responses
| Code | Description | Schema |
|---|---|---|
201 | The entry. | SuppressionEntry |
400 | The request is malformed. The body is not valid JSON or not a JSON object, a field is invalid (errors lists each one), a header or query parameter is invalid, or the Content-Type is not application/json where a JSON body is expected (unsupported_media on the control plane). | Problem |
401 | Missing or invalid API key. | Problem |
403 | The API key is not allowed to perform this operation. | Problem |
429 | Rate limit or quota exceeded. | Problem |
500 | Unexpected failure (internal_error). The request may be retried; keep the requestId when contacting support. | Problem |
503 | A dependency (storage, ledger, vault, renderer or mail service) is temporarily unavailable. Retry after the number of seconds in Retry-After when present. | Problem |
DELETE /v1/suppressions/{emailSha256}
Remove a suppression entry
Deletes the tenant's entry stored under the digest of the address.
- Authentication: API key in the
Authorization: Bearerheader - Scopes: at least one of
suppressions:write - operationId:
removeSuppression
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
emailSha256 | path | Sha256 | Yes | SHA-256 digest, lowercase hexadecimal. |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Removed. | — |
400 | The request is malformed. The body is not valid JSON or not a JSON object, a field is invalid (errors lists each one), a header or query parameter is invalid, or the Content-Type is not application/json where a JSON body is expected (unsupported_media on the control plane). | Problem |
401 | Missing or invalid API key. | Problem |
403 | The API key is not allowed to perform this operation. | Problem |
404 | The resource does not exist or belongs to another tenant. | Problem |
429 | Rate limit or quota exceeded. | Problem |
500 | Unexpected failure (internal_error). The request may be retried; keep the requestId when contacting support. | Problem |
503 | A dependency (storage, ledger, vault, renderer or mail service) is temporarily unavailable. Retry after the number of seconds in Retry-After when present. | Problem |