Listing Comments
GET {{baseUrl}}/api/v2/requests/:request_id/comments?sort_by=<string>&sort_order=<string>&since=<string>&role=<string>
Allowed For
- End Users
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
sort_by | string | Possible values are "updated_at", "created_at" | |
sort_order | string | One of “asc”, “desc”. Defaults to “asc” | |
since | string | Filters the comments from the given datetime | |
role | string | One of "agent", "end_user". If not specified it does not filter |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"comments":[{"body":"Thanks for your help","id":43}]}