Retrieve the current email forwarding configuration for a specific domain. It returns information about active rules and destinations, and an ID that may be needed for subsequent calls related to email configuration.
domain string required Accept Example Content-Type Example success boolean timestamp string requestId string data object https://cloud.hostup.se/api/email-forwarding curl -X GET "https://cloud.hostup.se/api/email-forwarding?domain=string" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"emailRoutingEnabled": true,
"rules": [
"string"
],
"destinations": [
"string"
],
"catchAll": "string",
"settings": {
"id": "string",
"tag": "string",
"name": "string",
"enabled": true,
"created": "string",
"modified": "string",
"skip_wizard": true,
"support_subaddress": true,
"synced": true,
"admin_locked": true,
"status": "string",
"errors": [
{
"code": "string",
"existing": {
"id": "string",
"name": "string",
"content": "string",
"type": "string",
"priority": 0,
"ttl": 0
}
}
]
},
"mxRecords": [
{
"id": 0,
"domain_id": 0,
"name": "string",
"type": "string",
"content": "string",
"ttl": 0,
"prio": 0,
"change_date": 0,
"priority": 0
}
]
}
}