Enable email forwarding for a domain.

Use this call to enable email forwarding for a specific domain. This is useful when you want emails sent to an address on your domain to be forwarded to another email address. The call returns an ID that may be needed for follow-up actions related to email configuration.

Headers

Accept Example
Content-Type Example

Body

required
application/json
domain string required
domainId string required
force boolean

Responses

200
success boolean
timestamp string
requestId string
data object
POST https://cloud.hostup.se/api/email-forwarding/enable
For AI assistants
cURL
curl -X POST "https://cloud.hostup.se/api/email-forwarding/enable" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "domain": "string",
    "domainId": "string",
    "force": true
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "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"
    },
    "syncResult": "string",
    "message": "string"
  }
}
Request Body
{
  "domain": "string",
  "domainId": "string",
  "force": true
}