Turf API Documentation
  1. Users
Turf API Documentation
  • Users
    • Create Community Member
      POST
    • Update Community Member's Profile
      PUT
    • Get Community Members
      GET
    • Block Community Member
      PUT
    • Get Community Member's Details
      GET
    • Get Member's Created Posts
      GET
    • Get Member's Saved Posts
      GET
    • Get Member's Comments
      GET
  • Channels
    • Get Community Channels
      GET
  • Posts
    • Create Discussion Post
      POST
    • Update Discussion Post
      PUT
    • Create Article Post
      POST
    • Update Article Post
      PUT
    • Create Comment On Post
      POST
    • Update Comment On Post
      PUT
    • Delete Existing Comment
      DELETE
    • Top Community Posts
      GET
    • Get Channel's Posts
      GET
    • Get Discussion Post Details
      GET
    • Get Article Post Details
      GET
    • Create comment on comment
      POST
  • Courses
    • Top Community Courses
      GET
  • Segments
    • Get Community Segments
      GET
    • Add Member To Segment
      POST
    • Remove Member From Segment
      DELETE
  • Gamification
    • Get Community Badges
    • Award Badge To Member
    • Remove Badge From Member
  1. Users

Get Member's Comments

GET
https://2e0a7m2i9j.execute-api.eu-central-1.amazonaws.com/prod/community/v1/user/{userId}/comments
The Get Member's Comments API allows you to retrieve all comments posted by a specific member in your community, across all discussions, posts, and articles.

Request

Path Params

Query Params

Header Params

Responses

🟢200OK
application/json
Body

🟠400Bad Request
🟠401Unauthorized
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://2e0a7m2i9j.execute-api.eu-central-1.amazonaws.com/prod/community/v1/user/olivier-van-den-hoogen/comments?pageNo=1&pageSize=50' \
--header 'x-api-key: api_key'
Response Response Example
200 - Example 1
{
    "message": "string",
    "data": {
        "comments": [
            {
                "id": 0,
                "user_id": 0,
                "best_answer": 0,
                "pinned": 0,
                "comment": "string",
                "comment_id": 0,
                "first_name": "string",
                "last_name": "string",
                "profile_pic": "string",
                "job_title": "string",
                "comment_reaction": "string",
                "created_at": "string",
                "post_title": "string",
                "is_new": 0,
                "badges": [
                    {
                        "id": 0,
                        "name": "string",
                        "image": "string"
                    }
                ],
                "post_id": "string"
            }
        ],
        "totalComments": 0,
        "currentPage": "string",
        "totalPages": 0,
        "pageSize": "string"
    }
}
Modified at 2025-09-03 15:02:46
Previous
Get Member's Saved Posts
Next
Get Community Channels
Built with