Saltar al contenido principal

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: Bearer header
  • Scopes: at least one of suppressions:read
  • operationId: listSuppressions

Parameters​

NameInTypeRequiredDescription
cursorqueryCursorNoOpaque pagination token. Do not parse or build it.
limitqueryintegerNoMaximum number of items per page, from 1 to 200 (default 50).

Responses​

CodeDescriptionSchema
200A page of entries.SuppressionList
400The 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
401Missing or invalid API key.Problem
403The API key is not allowed to perform this operation.Problem
429Rate limit or quota exceeded.Problem
500Unexpected failure (internal_error). The request may be retried; keep the requestId when contacting support.Problem
503A 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: Bearer header
  • Scopes: at least one of suppressions:write
  • operationId: addSuppression

Request body (application/json)​

FieldTypeRequiredDescription
emailstring (email)YesAddress to suppress. It is stored as a SHA-256 digest of the lowercased address.
ttlDaysintegerNoLifetime of the entry; omitted means no expiry.

Responses​

CodeDescriptionSchema
201The entry.SuppressionEntry
400The 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
401Missing or invalid API key.Problem
403The API key is not allowed to perform this operation.Problem
429Rate limit or quota exceeded.Problem
500Unexpected failure (internal_error). The request may be retried; keep the requestId when contacting support.Problem
503A 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: Bearer header
  • Scopes: at least one of suppressions:write
  • operationId: removeSuppression

Parameters​

NameInTypeRequiredDescription
emailSha256pathSha256YesSHA-256 digest, lowercase hexadecimal.

Responses​

CodeDescriptionSchema
204Removed.—
400The 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
401Missing or invalid API key.Problem
403The API key is not allowed to perform this operation.Problem
404The resource does not exist or belongs to another tenant.Problem
429Rate limit or quota exceeded.Problem
500Unexpected failure (internal_error). The request may be retried; keep the requestId when contacting support.Problem
503A dependency (storage, ledger, vault, renderer or mail service) is temporarily unavailable. Retry after the number of seconds in Retry-After when present.Problem