Get email routing (MX)

View the current MX settings for a domain (local, remote, secondary, auto).

Path Parameters

accountId integer · min: 1 required Example

Unique account identifier

Query Parameters

domain string · enum required
example42.com
example20.com

Headers

Accept Example
Content-Type Example

Responses

200 Successful response
domain string
routing string
GET https://cloud.hostup.se/api/hosting/{accountId}/email-routing
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/hosting/13974/email-routing?domain=example42.com" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "domain": "string",
  "routing": "string"
}