Retrieve a list of all service accounts associated with your account. Returns detailed information about each account, including status, billing cycle, and product information. A unique ID is returned that can be used for follow-up API calls.
Accept Example Content-Type Example success boolean timestamp string requestId string data object https://cloud.hostup.se/api/client-accounts curl -X GET "https://cloud.hostup.se/api/client-accounts" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"accounts": [
{
"id": "string",
"manual": "string",
"domain": "string",
"billingcycle": "string",
"qty": "string",
"status": "string",
"total": "string",
"next_due": "string",
"product_id": "string",
"name": "string",
"type": "string",
"lastname": "string",
"firstname": "string",
"companyname": "string",
"client_id": "string",
"currency_id": "string",
"group_id": "string",
"service_group_id": "string",
"sort_order": "string",
"label": "string",
"paytype": "string",
"extra_details": {
"usage": {
"vmdata": {
"11072": {
"uptime": 0,
"netin": 0,
"netout": 0,
"hourly": [
"string"
],
"rate": "string",
"lasttime": 0,
"total": {
"data_received": 0,
"data_sent": 0
},
"reboot_log": [
{
"date": "string",
"pid": 0,
"current_uptime": 0,
"previous_uptime": 0,
"last_uptime_higher": "string",
"last_netout_higher": "string",
"last_netin_higher": "string"
}
]
}
},
"current_unit": "string",
"current": {
"data_received": 0,
"data_sent": 0
},
"log": {
"2026-01-14T18:00:00Z": {
"data_received": 0,
"data_sent": 0,
"mem_unit": 0,
"probes": 0,
"time": 0,
"uptime": 0,
"maxcpu": 0,
"maxcpu_on": 0,
"cpu": 0,
"maxmem": 0,
"maxmem_on": 0,
"mem": 0,
"maxdisk": 0,
"template": 0,
"ipv4_addresses": 0
},
"2026-01-14T19:00:00Z": {
"data_received": 0,
"data_sent": 0,
"mem_unit": 0,
"probes": 0,
"time": 0,
"uptime": 0,
"maxcpu": 0,
"maxcpu_on": 0,
"cpu": 0,
"maxmem": 0,
"maxmem_on": 0,
"mem": 0,
"maxdisk": 0,
"template": 0,
"ipv4_addresses": 0
},
"2026-01-14T20:00:00Z": {
"data_received": 0,
"data_sent": 0,
"mem_unit": 0,
"probes": 0,
"time": 0,
"uptime": 0,
"maxcpu": 0,
"maxcpu_on": 0,
"cpu": 0,
"maxmem": 0,
"maxmem_on": 0,
"mem": 0,
"maxdisk": 0,
"template": 0,
"ipv4_addresses": 0
},
"2026-01-14T21:00:00Z": {
"data_received": 0,
"data_sent": 0,
"mem_unit": 0,
"probes": 0,
"time": 0,
"uptime": 0,
"maxcpu": 0,
"maxcpu_on": 0,
"cpu": 0,
"maxmem": 0,
"maxmem_on": 0,
"mem": 0,
"maxdisk": 0,
"template": 0,
"ipv4_addresses": 0
},
"2026-01-14T22:00:00Z": {
"data_received": 0,
"data_sent": 0,
"mem_unit": 0,
"probes": 0,
"time": 0,
"uptime": 0,
"maxcpu": 0,
"maxcpu_on": 0,
"cpu": 0,
"maxmem": 0,
"maxmem_on": 0,
"mem": 0,
"maxdisk": 0,
"template": 0,
"ipv4_addresses": 0
},
"2026-01-14T23:00:00Z": {
"data_received": 0,
"data_sent": 0,
"mem_unit": 0,
"probes": 0,
"time": 0,
"uptime": 0,
"maxcpu": 0,
"maxcpu_on": 0,
"cpu": 0,
"maxmem": 0,
"maxmem_on": 0,
"mem": 0,
"maxdisk": 0,
"template": 0,
"ipv4_addresses": 0
},
"2026-01-15T00:00:00Z": {
"data_received": 0,
"data_sent": 0,
"mem_unit": 0,
"probes": 0,
"time": 0,
"uptime": 0,
"maxcpu": 0,
"maxcpu_on": 0,
"cpu": 0,
"maxmem": 0,
"maxmem_on": 0,
"mem": 0,
"maxdisk": 0,
"template": 0,
"ipv4_addresses": 0
}
},
"lasttime": 0,
"migrated": true,
"capped": true,
"notified": true,
"suspended": true,
"previous": "string",
"end": "string"
}
},
"component_form_name": "string",
"component_value_name": "string",
"pricing": {
"currency": "string",
"billingCycle": {
"id": "string",
"months": 0,
"raw": "string",
"isFree": true
},
"pricePerCycle": 0,
"baseMonthlyCost": 0,
"baseAnnualCost": 0,
"addonsMonthlyCost": 0,
"addonsAnnualCost": 0,
"totalMonthlyCost": 0,
"totalAnnualCost": 0,
"addons": [
"string"
]
}
}
],
"pagination": {
"currentPage": 0,
"perPage": 0,
"totalPages": 0,
"totalRecords": 0
}
}
}