Skip to content

List the replies to a comment on a content post

Request

List the replies to a comment on a content post. Upon enabling expanded reactions types, the response will include the additional reaction types.

When a comment with user mentions is returned, it will be returned with those mentions in the format of either {ref:user:<user_id>} or {ref:user::id:<user_id>}. You can parse out the user_id and then look up the user and transform the mention metadata to the display_name/name of the referenced user.

Security
oauth2_as_a_user(Required scopes: feeds.read)
Path
content_idintegerrequired

ID or UUID of the content post

comment_idinteger or stringrequired
One of:

ID or UUID of the comment

integer
Query
page.sizeinteger, (int64)

Return page.size number of records starting at size*number. The default page size is 10 (number of records per page), resulting in the first page being retrieved. The maximum page size is 100.

page.numberinteger, (int64)

Using classical pagination, the page number to return. Default is 1

curl -i -X GET \
  'https://partner.socialchorus.com/v2/feed/posts/{content_id}/comments/{comment_id}/replies?page.size=0&page.number=0' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Success

Bodyapplication/json
dataArray of objects(Feed.Comment.Resource)required
metaobject
Response
{ "data": [ {} ], "meta": { "filters": null, "pagination": {} } }