Configure email forwarding from one address to another within your domain. This is useful for consolidating email from multiple addresses into a single inbox or directing email to an external address. The API returns an ID for subsequent calls related to the forwarding rule creation.
Accept Example Content-Type Example domain string required email string required destination string required success boolean timestamp string requestId string data object error string message string code string timestamp string requestId string error string message string code string timestamp string requestId string error string message string code string timestamp string requestId string https://cloud.hostup.se/api/email-forwarding curl -X POST "https://cloud.hostup.se/api/email-forwarding" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"domain": "string",
"email": "string",
"destination": "string"
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"rule": {
"id": "string",
"email": "string",
"destination": "string",
"enabled": true,
"tag": "string",
"name": "string",
"priority": 0
},
"verificationSent": true,
"destinationVerified": true,
"message": "string"
}
} {
"domain": "string",
"email": "string",
"destination": "string"
}