Turf API Documentation
  1. Posts
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. Posts

Get Channel's Posts

GET
https://2e0a7m2i9j.execute-api.eu-central-1.amazonaws.com/prod/community/v1/posts
The Get Channel's Posts API retrieves a paginated list of posts from a specified channel. The API returns the posts, including post ID, contents, and metadata, based on the provided channel ID and pagination parameters.

Request

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/posts?channelId=support&pageNo=1&pageSize=50' \
--header 'x-api-key: api_key'
Response Response Example
200 - Example 1
{
    "message": "string",
    "data": {
        "posts": [
            {
                "post_id": "string",
                "post_title": "string",
                "post_description": "string",
                "option_one": null,
                "option_two": null,
                "option_three": null,
                "option_four": null,
                "posts_type": 0,
                "created_at": "string",
                "updated_at": "string",
                "survey_questions": null,
                "post_roadmap_state": null,
                "topic_id": 0,
                "type": "string",
                "status": "string",
                "translations": null,
                "json_post": 0,
                "sequence": 0,
                "comment_count": 0,
                "label_name": null,
                "label_text_color": null,
                "label_color": null,
                "label_id": null,
                "channel_name": "string",
                "channel_name_translation": null,
                "community_title": "string",
                "option_one_votes": 0,
                "option_two_votes": 0,
                "option_three_votes": 0,
                "option_four_votes": 0,
                "total_votes_on_poll": 0,
                "total_number_of_likes": "string",
                "total_number_of_dislikes": "string",
                "total_reaction_on_post": "string",
                "post_attachements": [
                    "string"
                ],
                "created_by_user": {
                    "id": 0,
                    "profile_pic": "string",
                    "name": "string",
                    "job_title": "string",
                    "user_slug": "string"
                },
                "survey_question": [
                    "string"
                ]
            }
        ],
        "totalPosts": 0,
        "currentPage": "string",
        "totalPages": 0,
        "pageSize": "string"
    }
}
Modified at 2025-09-03 14:57:26
Previous
Top Community Posts
Next
Get Discussion Post Details
Built with