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 Discussion Post Details

GET
https://2e0a7m2i9j.execute-api.eu-central-1.amazonaws.com/prod/community/v1/post/{postId}
The Get Discussion Post Details API retrieves all the contents and information of a specific discussion post, identified by its post ID. The API returns the post's contents, metadata, and other associated details.

Request

Path 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/post/asdvcasdvcads' \
--header 'x-api-key: api_key'
Response Response Example
200 - Example 1
{
    "message": "string",
    "data": {
        "post_id": 0,
        "channel_id": 0,
        "community_id": 0,
        "post_title": "string",
        "is_new": 0,
        "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_title_slug": "string",
        "post_roadmap_state": null,
        "topic_id": null,
        "status": "string",
        "type": "string",
        "pinned": 0,
        "translations": null,
        "topic_name": null,
        "topic_slug": null,
        "topic_name_translation": null,
        "label_name": "string",
        "label_text_color": "string",
        "label_color": "string",
        "label_id": 0,
        "topic_emoji": null,
        "topic_custom_emoji": null,
        "comment_count": 0,
        "post_is_helpful_count": 0,
        "gamification_level": "string",
        "post_is_helpful": 0,
        "channel_name": "string",
        "channel_slug": "string",
        "channel_name_translation": null,
        "channel_emoji": "string",
        "channel_custom_emoji": "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",
                "badges": [
                    {
                        "id": 0,
                        "name": "string",
                        "image": "string"
                    }
                ],
                "pinned": 0,
                "comment": "string",
                "post_id": 0,
                "user_id": 0,
                "reply_to": null,
                "job_title": "string",
                "parent_id": 0,
                "user_slug": "string",
                "comment_id": 0,
                "created_at": "string",
                "attachments": null,
                "best_answer": 0,
                "profile_pic": "string",
                "commented_by": 0,
                "translations": null,
                "comment_reaction": 0,
                "gamification_level": "string",
                "user_reaction_on_comment": "string"
            }
        ],
        "user_badge_communities": [
            {
                "badge_id": 0,
                "badge": {
                    "id": 0,
                    "name": "string",
                    "image": "string"
                }
            }
        ],
        "post_attachements": [
            "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": [
            "string"
        ]
    }
}
Modified at 2025-09-03 15:03:26
Previous
Get Channel's Posts
Next
Get Article Post Details
Built with