List and retrieve comments
We already used the endpoint for list comments a few times, but now lets go deeper.
List comments by reference_id
curl --request GET \
--url 'https://comently.p.rapidapi.com/comments?reference_id=test-reference-id' \
--header 'x-rapidapi-key: <your-token>'
You can pass the query parameter reference_id
to fetch all the comments that are related/grouped.
In the future we will support filtering by other params, like user_id
or created_at
, even text search on the comments body
is planned.
Get a single comment by id
curl --request GET \
--url 'https://comently.p.rapidapi.com/comments/<comment-id>' \
--header 'x-rapidapi-key: <your-token>'
Replace the path parameter