Skip to main content
WEBHOOK
AhaSend sends this event when a suppression is deleted. Future emails to the address are attempted again. Why suppressions are deleted:
  • You delete a suppression through the API (origin: api). A request without a domain deletes the suppressions of the address on every domain of your account, and sends one event for each.
  • You delete a suppression in the dashboard (origin: dashboard)
  • AhaSend support deletes a suppression (origin: system)
data is the suppression as it was right before the delete, and timestamp is the time of the delete. No event:
  • Wiping the suppressions of your account or of a domain. After a wipe, read the list again with List Suppressions.
  • The removal of expired suppressions. data.expires_at of suppression.created already says when the suppression ends.
Setting: on_suppression_deleted (Suppression Deleted in the dashboard). When it’s sent: When a suppression is deleted.

Body

application/json
type
enum<string>
required

The event type

Available options:
suppression.created,
suppression.deleted
webhook_id
string<uuid>
required

The webhook ID (the same ID as returned by the Create Webhook API)

timestamp
string<date-time>
required

When the suppression was created, changed or deleted (ISO 8601 format)

data
object
required

The suppression as it was right after the change, or right before the delete for suppression.deleted.

Response

Webhook received successfully