Suppressions Command

Manage email suppressions (bounces, complaints, unsubscribes).

Overview

ahasend suppressions [subcommand] [flags]
Available subcommands:
  • list - List all suppressed email addresses
  • create - Create a new suppression for an email address
  • check - Check if an email address is suppressed
  • delete - Delete an email address from the suppression list
  • wipe - Delete all suppressions from your account
Suppressions are email addresses that should not receive emails from your account. They can be created automatically (bounces, complaints) or manually (unsubscribes). Use suppressions to:
  • View all suppressed email addresses
  • Check if a specific email is suppressed
  • Create new suppressions for email addresses
  • Delete existing suppressions
  • Bulk manage suppressions

List Suppressions

List suppressed email addresses with filtering and pagination support. Suppressions are email addresses that should not receive emails from your account. They can be filtered by email address, domain, creation time, and exported to JSON format.
# List all suppressions
ahasend suppressions list

# Search for specific email suppression
ahasend suppressions list --email [email protected]

# Filter by domain
ahasend suppressions list --domain example.com

# Export to JSON
ahasend suppressions list --output json

# List with pagination
ahasend suppressions list --limit 100

List Flags

FlagDescription
--emailEmail address to search for (optional)
--domainFilter by specific domain
--limitMaximum number of suppressions to return (default 50)
--cursorPagination cursor for continued results

Create Suppression

# Create manual suppression
ahasend suppressions create [email protected] --reason unsubscribe

# Create bounce suppression
ahasend suppressions create [email protected] --type bounce

# Create complaint suppression
ahasend suppressions create [email protected] --type complaint

Check Suppression

ahasend suppressions check [email protected]

Delete Suppression

ahasend suppressions delete [email protected]

Wipe Suppressions

Remove all suppressions (use with caution):
# Wipe all suppressions
ahasend suppressions wipe --confirm

# Wipe specific type
ahasend suppressions wipe --type bounce --confirm
This action is irreversible and will remove all specified suppressions.

Next Steps