List all comments from a post

Returns a list of either comments on a given post or replies on a given comment.

Path Params
string
required

The ID of the associated post.
Linkedin: use the social_id from the post object (GET post or list posts). The post id visible in url will not work in all case, you can refer here for more details : https://developer.unipile.com/docs/posts-and-comments
Instagram: Need to use the provider_id. Short code cannot be used here (www.instagram.com/p/SHORTCODE)

Query Params
string
length ≥ 1

A cursor for pagination purposes. To get the next page of entries, you need to make a new request and fulfill this field with the cursor received in the preceding request. This process should be repeated until all entries have been retrieved.

integer
1 to 100

A limit for the number of items returned in the response. The value can be set between 1 and 100.

string
enum

The sort method for the post comments. Default is MOST_RECENT.

Allowed:
string

The id of the comment to get replies from.
Linkedin: use the comment id returned by the comments list.

string
required

The id of the account to perform the request from.

Responses

Language
Credentials
Header
URL
Request
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json