Services API

get specific entry

GET /api/rest/admin/services/:id

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIzNywiYXVkIjpbImFkbWluIl0sImV4cCI6MTc3NjM2NTc0M30.tbak9kxjN0FL8XG8Jint_iHN65cgBCzlZpGrSPRj2hw
Host: example.org
Cookie: 

Route

GET /api/rest/admin/services/9

Response

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/vnd.api+json
vary: Accept
etag: W/"ab4e7ca76b1339c61ce9bc1619dab746"
cache-control: max-age=0, private, must-revalidate
x-request-id: df655f36-5248-4ddb-b6b8-cbcd6a80b0bd
x-runtime: 0.005769
content-length: 1114

Status

200 OK

Body

{
  "data": {
    "id": "9",
    "type": "services",
    "links": {
      "self": "http://example.org/api/rest/admin/services/9"
    },
    "attributes": {
      "name": "Service_9",
      "variables": {
        "baz": 123
      },
      "state": "Active",
      "initial-price": "74.21",
      "renew-price": "81.88",
      "created-at": "2026-04-16T17:57:43.668Z",
      "renew-at": null,
      "renew-period": "Disabled",
      "uuid": "39bcd0a9-057e-45d5-8907-4298a6894777"
    },
    "relationships": {
      "account": {
        "links": {
          "self": "http://example.org/api/rest/admin/services/9/relationships/account",
          "related": "http://example.org/api/rest/admin/services/9/account"
        },
        "data": {
          "type": "accounts",
          "id": "91"
        }
      },
      "service-type": {
        "links": {
          "self": "http://example.org/api/rest/admin/services/9/relationships/service-type",
          "related": "http://example.org/api/rest/admin/services/9/service-type"
        }
      },
      "transactions": {
        "links": {
          "self": "http://example.org/api/rest/admin/services/9/relationships/transactions",
          "related": "http://example.org/api/rest/admin/services/9/transactions"
        }
      },
      "package-counters": {
        "links": {
          "self": "http://example.org/api/rest/admin/services/9/relationships/package-counters",
          "related": "http://example.org/api/rest/admin/services/9/package-counters"
        }
      }
    }
  }
}