Usage of /users/{ids}/comments/{toid} GET

Discussion

Get the comments that the users in {ids} have posted in reply to the single user identified in {toid}.

This method is useful for extracting conversations, especially over time or across multiple posts.

{ids} can contain up to 100 semicolon delimited ids. To find ids programmatically look for user_id on user or shallow_user objects. {toid} can contain only 1 id, found in the same manner as those in {ids}.

The sorts accepted by this method operate on the following fields of the comment object:

  • creationcreation_date
  • votesscore
creation is the default sort.

It is possible to create moderately complex queries using sort, min, max, fromdate, and todate.

This method returns a list of comments.

Try It

Team slug:
Access token: