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 Created Posts

GET
https://2e0a7m2i9j.execute-api.eu-central-1.amazonaws.com/prod/community/v1/user/{userId}/posts
The Get Member's Created Posts API retrieves all posts created by a specific member in your community environment. This helps in displaying a member’s contributions such as posts, discussions, or questions they have shared within the community.

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/posts?pageNo=1&pageSize=20' \
--header 'x-api-key: api_key'
Response Response Example
200 - Example 1
{
    "message": "string",
    "data": {
        "posts": [
            {
                "channel_id": 0,
                "community_id": 0,
                "post_title": "string",
                "post_description": "string",
                "option_one": "string",
                "option_two": "string",
                "option_three": "string",
                "option_four": "string",
                "posts_type": 0,
                "created_at": "string",
                "survey_questions": null,
                "post_roadmap_state": "string",
                "topic_id": null,
                "type": "string",
                "post_id": "string",
                "comment_count": 0,
                "post_is_helpful_count": 0,
                "gamification_level": "string",
                "post_is_helpful": "string",
                "channel_name": "string",
                "community_title": "string",
                "is_reacted": "string",
                "user_reaction_on_post": "string",
                "option_one_votes": 0,
                "option_two_votes": 0,
                "option_three_votes": 0,
                "option_four_votes": 0,
                "total_votes_on_poll": 0,
                "option_selected_by_user": "string",
                "is_post_saved": "string",
                "is_post_flagged": "string",
                "total_number_of_likes": "string",
                "total_number_of_dislikes": "string",
                "total_reaction_on_post": "string",
                "post_comments": [
                    {
                        "name": "string",
                        "pinned": 0,
                        "comment": "string",
                        "post_id": 0,
                        "job_title": "string",
                        "parent_id": 0,
                        "comment_id": 0,
                        "best_answer": 0,
                        "profile_pic": "string",
                        "commented_by": 0,
                        "comment_reaction": 0,
                        "user_reaction_on_comment": "string"
                    }
                ],
                "user_badge_communities": [
                    {
                        "badge_id": 0,
                        "badge": {
                            "id": 0,
                            "name": "string",
                            "image": "string"
                        }
                    }
                ],
                "post_attachements": [
                    {
                        "type": "string",
                        "media": "string"
                    }
                ],
                "created_by_user": {
                    "id": 0,
                    "profile_pic": "string",
                    "name": "string",
                    "job_title": "string",
                    "user_slug": "string",
                    "badges": [
                        {
                            "id": 0,
                            "name": "string",
                            "image": "string"
                        }
                    ]
                },
                "survey_question": [
                    {
                        "id": 0,
                        "title": "string",
                        "description": "string",
                        "total_likes_on_survey": 0,
                        "total_dislikes_on_survey": 0,
                        "user_reaction_on_survey": "string"
                    }
                ]
            }
        ],
        "totalPosts": 0,
        "currentPage": 0,
        "totalPages": 0,
        "pageSize": 0
    }
}
Modified at 2025-09-03 15:02:23
Previous
Get Community Member's Details
Next
Get Member's Saved Posts
Built with