Comments API

get specific entry

GET /api/rest/admin/comments/:id

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjYxLCJhdWQiOlsiYWRtaW4iXSwiZXhwIjoxNzkyNjE5ODAyfQ.rxdobl2pgIK3IBC04-RDsqz-yUaxfV-hmWuIpNUsYig
Host: example.org
Cookie: 

Route

GET /api/rest/admin/comments/3

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/"3f4540ac2b4f8f4eeafa7fb5385c8fd1"
cache-control: max-age=0, private, must-revalidate
x-request-id: 1b6f9e84-55ee-4a9f-ab78-cabaf684d54d
x-runtime: 0.011011
content-length: 244

Status

200 OK

Body

{
  "data": {
    "id": "3",
    "type": "comments",
    "links": {
      "self": "http://example.org/api/rest/admin/comments/3"
    },
    "attributes": {
      "body": "some comment",
      "resource-type": "Dialpeer",
      "resource-id": "1376785",
      "author-id": 61,
      "created-at": "2026-10-21T21:46:42.678Z"
    }
  }
}