Get service details
apiToken services:readAuthorizationBearer <token>A personal API token: Authorization: Bearer dh_live_…. See Authentication for scopes.
Scope: services:read
id*integerThe service id, as returned by GET /v1/services.
The service.
application/json- response
id*integerWhat every other service endpoint takes.
orderNumber*|The 10-digit public order number, as printed on invoices.
name*stringYour own label, or the product name.
productSlug*string|nullproductName*string|nullstatus*stringactive | pending | suspended | cancelled | terminated
cycle*stringmonthly | annually | … as sold.
priceCents*integernextDueAt*|date-timecreatedAt*stringdate-timeplatform*|Which panel backs the service, or null when none does. VirtFusion and TenantOS accept power controls. TenantOS graceful shutdown is unavailable; use explicit poweroff.
provisioned*booleanWhether a machine has actually been created for it yet.
curl -X GET 'https://api.deluxhost.net/v1/services/0' \ -H "Authorization: Bearer $DELUXHOST_TOKEN"{ "id": 0, "orderNumber": 0, "name": "string", "productSlug": "string", "productName": "string", "status": "string", "cycle": "string", "priceCents": 0, "nextDueAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "platform": "string", "provisioned": true}List services GET
Newest first, and not paginated: this is a list of things somebody pays for monthly, so it is small by nature. The invoice list, which grows forever, is paginated.
Get server status GET
Read from the panel on every call, so it is slower than the service itself and can fail on its own. `powerState` is `running`, `stopped` or `unknown` — the last means we could not read it (usually an unreachable hypervisor), not that the server is off. Answers for **VirtFusion and TenantOS services alike**: same question, same shape, different source. `building` is only ever true on VirtFusion; `cpuModel` is only ever set on TenantOS. Shared hosting is not a machine and lives at `/v1/services/{id}/hosting`. A suspended service answers 400 here while still appearing in `GET /v1/services`.