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

KeyDatatypeRequiredDescription
sort_bystringPossible values are "updated_at", "created_at"
sort_orderstringOne of “asc”, “desc”. Defaults to “asc”
sincestringFilters the comments from the given datetime
rolestringOne of "agent", "end_user". If not specified it does not filter

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;comments&quot;:[{&quot;body&quot;:&quot;Thanks for your help&quot;,&quot;id&quot;:43}]}