{
"type": "message.reception",
"webhook_id": "abe11757-2886-4b55-96f1-0e0afc95795a",
"timestamp": "2024-05-06T09:49:16.687031577Z",
"data": {
"account_id": "4cdd7bdd-294e-4762-892f-83d40abf5a87",
"event": "on_reception",
"from": "sender@example.com",
"recipient": "recipient@example.com",
"subject": "Welcome to our service",
"message_id_header": "<message-id-12345@localhost>",
"id": "407926766d2711f09b30960002cafe7c"
}
}Message Events
message.reception Webhook Event
The message.reception webhook fires when AhaSend accepts and queues an email. It is the first event in a message’s lifecycle. See the payload and fields.
WEBHOOK
message.reception
{
"type": "message.reception",
"webhook_id": "abe11757-2886-4b55-96f1-0e0afc95795a",
"timestamp": "2024-05-06T09:49:16.687031577Z",
"data": {
"account_id": "4cdd7bdd-294e-4762-892f-83d40abf5a87",
"event": "on_reception",
"from": "sender@example.com",
"recipient": "recipient@example.com",
"subject": "Welcome to our service",
"message_id_header": "<message-id-12345@localhost>",
"id": "407926766d2711f09b30960002cafe7c"
}
}AhaSend sends this event when an email has been received and queued.
This is always the first event in a message’s lifecycle. The message has been accepted by AhaSend and is queued for delivery to the recipient’s mail server.
When it’s sent: Immediately after AhaSend receives and queues an email for delivery.
This webhook is called for both inbound and outbound emails.
Related Guides
- API authentication, Permission scopes, Webhook setup.
- Event reference, Webhook CLI, Local webhook testing.
- Signature verification, Retry policy, API errors.
- API rate limits.
Body
application/json
The event type
Available options:
message.reception The webhook ID (the same ID as returned by the Create Webhook API)
When the event occurred (ISO 8601 format)
Show child attributes
Show child attributes
Response
Webhook received successfully

