Skip to main content
WEBHOOK
AhaSend sends this event when an email exhausts its retry window without being delivered. No more delivery attempts will be made. This event reports retry exhaustion rather than one specific SMTP exchange, so data.delivery_attempt is omitted. An immediate permanent rejection from a recipient server is reported as message.bounced instead. When it’s sent: After all retry attempts have been exhausted.

Body

application/json
type
enum<string>
required

The event type

Available options:
message.failed
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 event occurred (ISO 8601 format)

data
object
required

Response

Webhook received successfully