Retrieve detailed information about your specific hosting account, including username, domain, plan, and disk space. This is useful when you need to verify account settings or troubleshoot hosting-related issues.
path.accountId accountId integer · min: 1 required
Example: 20000 Unique account identifier
Accept Example Content-Type Example data object required data.account object required data.account.disklimit string required
· Example: 51200M data.account.diskused string · enum required
· Example: 3365M 3365M 3940M 4008M 4017M 471M data.account.domain string required
· Example: example.com data.account.ip string required
· Example: 192.0.0.1 data.account.partition string required
· Example: home data.account.plan string required
· Example: start data.account.shell string required
· Example: /bin/bash data.account.startdate string required
· Example: 26 Jan 28 11:24 data.account.suspended boolean required
· Example: false data.account.suspendreason string required
· Example: not suspended data.account.username string required
· Example: qvcyt data.accountId string required
· Example: 20000 data.cpanelUsername string required
· Example: xkqjm 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).
code string required
· Example: UNAUTHORIZED Machine-readable error code.
error string required
· Example: Unauthorized HTTP status title (e.g. 'Bad Request').
message string required
· Example: Authentication required Human-readable message.
requestId string required
· Example: 2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba Unique request identifier (UUID).
timestamp string required
· Example: 2026-02-10T00:00:00.000Z ISO 8601 timestamp (UTC).
https://cloud.hostup.se/api/hosting/{accountId}/cpanel/account-info curl -X GET "https://cloud.hostup.se/api/hosting/20000/cpanel/account-info" \
-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",
"account": {
"username": "qvcyt",
"domain": "example.com",
"ip": "192.0.0.1",
"email": "[email protected]",
"plan": "start",
"startdate": "26 Jan 28 11:24",
"diskused": "3365M",
"disklimit": "51200M",
"suspended": false,
"suspendreason": "not suspended",
"shell": "/bin/bash",
"partition": "home"
}
}
}