Create new email accounts associated with your domain on your web hosting. You can also specify the storage space for each account.
path.accountId accountId integer · min: 1 required
Example: 20000 Unique account identifier
Accept Example Content-Type Example domain string required
· Example: example.com password string required
· Example: YOUR_PASSWORD quota integer required
· Example: 0 data object required data.accountId string required
· Example: 20000 data.cpanelUsername string required
· Example: xkqjm data.created boolean required
· Example: true 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-accounts curl -X POST "https://cloud.hostup.se/api/hosting/20000/email-accounts" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"email": "[email protected]",
"domain": "example.com",
"password": "YOUR_PASSWORD",
"quota": 0
}' {
"success": true,
"timestamp": "2026-02-10T00:00:00.000Z",
"requestId": "2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba",
"data": {
"success": true,
"accountId": "20000",
"cpanelUsername": "xkqjm",
"email": "[email protected]",
"created": true
}
} {
"email": "[email protected]",
"domain": "example.com",
"password": "YOUR_PASSWORD",
"quota": 0
}