Skip to main content

List services by category

List all services under your account by category id filter[hide_terminated]=1 filter[hide_cancelled]=1 filter[hide_suspended]=1 filter[hide_fraud]=1 filter[status]=Active

HTTP Request

GET /services/@cid

Auth: true

QUERY PARAMETERS

ParameterTypeDescription
cidintCategory id, 0 to get all

Example Response


{
"services": [
{
"id": "268",
"domain": "hosting2.com",
"total": "120000",
"status": "Pending",
"billingcycle": "Annually",
"next_due": "2022-08-13",
"category": "Cloud Hosting",
"category_url": "cloud-hosting",
"name": "CH - SSD 1GB",
"cert_email": null,
"cert_status": null,
"cert_expires": null
},
{
"id": "259",
"domain": "hosting1.com",
"total": "108000",
"status": "Pending",
"billingcycle": "Annually",
"next_due": "2022-08-12",
"category": "Cloud Hosting",
"category_url": "cloud-hosting",
"name": "CH - SSD 1GB",
"cert_email": null,
"cert_status": null,
"cert_expires": null
}
],
"total": 2,
"page": {
"current": 0,
"total": 1
}
}