View a list of all email forwarders configured for a specific web hosting account. You can use this to see where emails are being forwarded to, for example, from a general address like [email protected] to a personal email address.
path.accountId accountId integer · min: 1 required
Example: 20000 Unique account identifier
Accept Example Content-Type Example data object required data.accountId string required
· Example: 20000 data.count integer required
· Example: 7 data.cpanelUsername string required
· Example: xkqjm data.forwarders array<object> required
· Example: [{"html_forward":"[email protected]","html_dest":"[email protected]","dest":"user1@exam... data.forwarders[].uri_dest string · enum required
· Example: info%example.com info%example.com ostgota%example.com data.forwarders[].uri_forward string · enum required
· Example: stolpe%example.com magda790%example.com stolpe%example.com torbjorn.kohl%example.com totte.barock%example.com data.notApplicable boolean
· Example: true data.note string
· Example: Email forwarders are only available for cPanel servers 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-forwarders curl -X GET "https://cloud.hostup.se/api/hosting/20000/email-forwarders" \
-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",
"forwarders": [
{
"html_forward": "[email protected]",
"html_dest": "[email protected]",
"dest": "[email protected]",
"uri_forward": "stolpe%example.com",
"forward": "[email protected]",
"uri_dest": "info%example.com"
},
{
"uri_dest": "ostgota%example.com",
"forward": "[email protected]",
"dest": "[email protected]",
"html_dest": "[email protected]",
"uri_forward": "magda790%example.com",
"html_forward": "[email protected]"
},
{
"_truncated": "... and 5 more items"
}
],
"count": 7
}
}