View how emails sent to your domain are routed. This is useful for checking if email is delivered locally to your hosting or forwarded to another server.
path.accountId accountId integer · min: 1 required
Example: 20000 Unique account identifier
domain string required
· Example: example.com Accept Example Content-Type Example data object required data.accountId string required
· Example: 20000 data.cpanelUsername string required
· Example: xkqjm data.domain string required
· Example: example.com data.routing object required data.routing.domain string required
· Example: example.com data.routing.local boolean required
· Example: false data.routing.mxcheck string required
· Example: auto data.routing.remote boolean required
· Example: false data.routing.secondary boolean required
· Example: false data.success boolean required
· Example: true True for successful responses.
requestId string required
· Example: 2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba Unique request identifier (UUID).
success boolean required
· Example: true True for successful responses.
timestamp string required
· Example: 2026-02-10T00:00:00.000Z ISO 8601 timestamp (UTC).
https://cloud.hostup.se/api/hosting/{accountId}/email-routing curl -X GET "https://cloud.hostup.se/api/hosting/20000/email-routing?domain=example.com" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"success": true,
"timestamp": "2026-02-10T00:00:00.000Z",
"requestId": "2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba",
"data": {
"success": true,
"accountId": "20000",
"cpanelUsername": "xkqjm",
"domain": "example.com",
"routing": {
"domain": "example.com",
"mxcheck": "auto",
"local": false,
"remote": false,
"secondary": false
}
}
}