Documentation Index
Fetch the complete documentation index at: https://ahasend.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Webhooks Command
Manage webhook endpoints for receiving real-time email events.Overview
list- List all webhookscreate- Create a new webhookget- Get webhook detailsupdate- Update webhook configurationdelete- Delete a webhooklisten- Listen for webhook events (development)trigger- Trigger test events (development)
List Webhooks
Create Webhook
Available Events
| Event | Description |
|---|---|
message.reception | Email received by AhaSend |
message.delivered | Email delivered to recipient |
message.transient_error | Temporary delivery failure |
message.failed | Permanent delivery failure |
message.bounced | Email bounced |
message.suppressed | Email suppressed |
message.opened | Email opened by recipient |
message.clicked | Link clicked in email |
suppression.created | New suppression added |
domain.dns_error | DNS resolution failure |
Get Webhook Details
Update Webhook
Delete Webhook
Listen for Events (Development)
Listen for webhook events in real-time using WebSocket connection. This command establishes a WebSocket connection to receive webhook events and can forward them to a local endpoint for development.Listen Flags
| Flag | Description |
|---|---|
--webhook-id | Use existing webhook instead of creating temporary one |
--forward-to | Local endpoint to forward events to |
--events | Filter specific events (client-side filtering) |
--slim-output | Slim down the payload for console output |
--skip-verify | Skip SSL certificate verification for local endpoints |
The command automatically generates a webhook secret for signing forwarded events using the standard-webhooks specification. It also handles disconnections with buffered event replay.
Trigger Test Events (Development)
Manually trigger webhook events for testing:The trigger command is only available in development environments for testing webhook integrations.

