All categoriesAPIComments API endpoint

Comments API endpoint

This endpoint returns comments for all posts accessible to owner of API token.


Get comments

You need to provide Authorization header with Bearer token or query string param:

curl -H 'Accept: application/json'\
-H "Authorization: Bearer <API_TOKEN>"\

Example response:

"next": null,
"previous": null,
"results": [
"id": <COMMENT ID>,
"kind": "reply",
"status": null,
"likes_count": 0,
"created": "2020-12-24T20:48:25.061641Z",
"highlighted": false,
"internal": false,
"content": "<COMMENT CONTENT>",
"post": {
"id": 3,
"title": "<POST TITLE>",
"creator": {
"id": <USER ID>,
"email": "<USER EMAIL>",
"name": "<USER NAME>",
"alias": "<USER ALIAS>",
"is_admin": false,
"registered": "2020-12-24T20:47:53.437616Z",
"is_team": false