{
"type": "domain.sending_type_changed",
"webhook_id": "abe11757-2886-4b55-96f1-0e0afc95795a",
"timestamp": "2026-11-09T10:15:00Z",
"data": {
"account_id": "4cdd7bdd-294e-4762-892f-83d40abf5a87",
"domain": "example.com",
"previous_sending_type": "transactional",
"sending_type": "marketing",
"source": "customer"
}
}Domain Events
domain.sending_type_changed Webhook Event
The domain.sending_type_changed webhook fires when a domain’s sending type changes between transactional and marketing. Payload, source and setting.
WEBHOOK
domain.sending_type_changed
{
"type": "domain.sending_type_changed",
"webhook_id": "abe11757-2886-4b55-96f1-0e0afc95795a",
"timestamp": "2026-11-09T10:15:00Z",
"data": {
"account_id": "4cdd7bdd-294e-4762-892f-83d40abf5a87",
"domain": "example.com",
"previous_sending_type": "transactional",
"sending_type": "marketing",
"source": "customer"
}
}AhaSend sends this event when the sending type of a domain changes between
transactional and marketing.
Who changes it (data.source):
- You, in the dashboard or through the API (
customer) - AhaSend support (
admin) - AhaSend, when a transactional domain sends marketing email: the domain becomes
marketing(automatic)
data.previous_sending_type and data.sending_type are the domain’s sending type before and after the change, and timestamp is the time of the change.
Impact: The domain’s email follows the rules of its new sending type.
No event: Adding a domain, whatever its sending type, or saving a domain without a change to its sending type.
Setting: on_sending_type_changed (Sending Type Changed in the dashboard). Any account can use this event.
When it’s sent: When the sending type of a domain changes.
Related Guides
- API authentication, Permission scopes, Webhook setup.
- Event reference, Webhook CLI, Local webhook testing.
- Signature verification, Retry policy, API errors.
- API rate limits, Domain setup.
Body
application/json
The webhook ID (the same ID as returned by the Create Webhook API)
Response
Webhook received successfully

