Skip to main content
GET
/
requests
/
{id}
/
comments
cURL
curl --request GET \
  --url https://api.opal.dev/v1/requests/{id}/comments \
  --header 'Authorization: Bearer <token>'
{
  "comments": [
    {
      "created_at": "2021-01-06T20:00:00.000Z",
      "request_id": "4c86c85d-0651-43e2-a748-d69d658418e8",
      "user_id": "c86c85d-0651-43e2-a748-d69d658418e8",
      "comment": "This is a comment."
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

The ID of the request to get comments for

Response

200 - application/json

A list of comments associated with the specified request.

A paginated list of request comments

comments
object[]
required