Email Suppressions

Suppress addresses in bulk

Changed on

Adds up to 100 addresses in one call, for importing a suppression list carried over from another provider. An invalid address rejects the whole batch rather than applying part of it, so you never have to diff what landed.

post/email/suppressions/batch

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Headers

Idempotency-Key, string

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Request body

EmailSuppressionBatchRequest required
addresses, string[] required
reason, 'manual' | 'unsubscribed'
metadata, object

Response

Addresses suppressed

ListResponseEmailSuppression required
object, 'list' required
data, EmailSuppression[] required
has_more, boolean required
url, string required

Changes

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    4 more changes in this revision