# Turf API Documentation ## API Docs - Users [Create Community Member](https://api.useturf.io/create-community-member-20981233e0.md): The Create Community Member API allows you to register a new member in your community environment. This endpoint accepts basic profile information such as name, email, job details, and social links. Once created, the member can access your community and participate in community activities, access resources, and manage their profile. - Users [Update Community Member's Profile](https://api.useturf.io/update-community-members-profile-20981234e0.md): The Update Community Member API allows you to update an existing community member’s profile details. The userId is passed in the request parameters to identify which member profile to update. - Users [Get Community Members](https://api.useturf.io/get-community-members-20888376e0.md): The Get Community Members API retrieves a paginated list of community members in your community environment. This endpoint returns user details, including user ID, username, and profile information. - Users [Block Community Member](https://api.useturf.io/block-community-member-20982428e0.md): The Block Community Member API removes and blocks a member from your community. Once blocked, the member will no longer be able to access your community environment nor is able to create a new account with the same email address. - Users [Get Community Member's Details](https://api.useturf.io/get-community-members-details-20982863e0.md): The Get Community Member's Details API allows you to fetch detailed profile information of a specific member in your community. The UserID must be passed in the request path parameters. - Users [Get Member's Created Posts](https://api.useturf.io/get-members-created-posts-20983677e0.md): 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. - Users [Get Member's Saved Posts](https://api.useturf.io/get-members-saved-posts-20986224e0.md): The Get Member's Saved Posts API retrieves all posts that a specific member has saved from your community. This allows members to revisit posts they have marked/saved for later reference. - Users [Get Member's Comments](https://api.useturf.io/get-members-comments-20986807e0.md): 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. - Channels [Get Community Channels](https://api.useturf.io/get-community-channels-20871182e0.md): The Get Community Channels API retrieves a list of all channels listed in your community environment. The API returns essential details for each channel, including channel ID and channel name. - Posts [Create Discussion Post](https://api.useturf.io/create-discussion-post-21070387e0.md): The Create Discussion Post API creates a new discussion post in your community. Discussions posts consist of a title and post contents. The post contents can consist of different text, image, and video elements. - Posts [Update Discussion Post](https://api.useturf.io/update-discussion-post-21072517e0.md): The Update Discussion Post API updates an existing discussion post according to your requested changes. - Posts [Create Article Post](https://api.useturf.io/create-article-post-21072648e0.md): The Create Article Post API creates a new article post in your community environment. Article posts support advanced formatting from Rich Text Editors (RTE) in HTML format. - Posts [Update Article Post](https://api.useturf.io/update-article-post-21072963e0.md): The Update Article Post API updates an existing article post in your community environment. Article posts support advanced formatting from Rich Text Editors (RTE) in HTML format. - Posts [Create Comment On Post](https://api.useturf.io/create-comment-on-post-21077336e0.md): The Create Comment On Post API creates a new comment on a defined post in your community. The comment can consist of different text, image, and video elements. - Posts [Update Comment On Post](https://api.useturf.io/update-comment-on-post-21078049e0.md): The Update Comment On Post API updates an existing comment on a defined post in your community. The comment can consist of different text, image, and video elements. - Posts [Delete Existing Comment](https://api.useturf.io/delete-existing-comment-21079112e0.md): The Delete Existing Comment API deletes an existing comment on a defined post in your community. The API permanently deletes the defined comment. - Posts [Top Community Posts](https://api.useturf.io/top-community-posts-20886827e0.md): The Get Top Community Posts API retrieves a list of the top 10 discussion posts across your community, ranked by the number of likes/votes received. The API returns post details including post ID, contents, and like/vote count. - Posts [Get Channel's Posts](https://api.useturf.io/get-channels-posts-20885352e0.md): 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. - Posts [Get Discussion Post Details](https://api.useturf.io/get-discussion-post-details-20942680e0.md): 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. - Posts [Get Article Post Details](https://api.useturf.io/get-article-post-details-21088751e0.md): The Get Article Post Details API retrieves all the contents and information of a specific article post, identified by its post ID. The API returns the post's contents, metadata, and other associated details. - Posts [Create comment on comment](https://api.useturf.io/create-comment-on-comment-24806328e0.md): The Comment on comment API creates a reply on a comment on a defined comment in your community. - Courses [Top Community Courses](https://api.useturf.io/top-community-courses-20888177e0.md): The Get Community Courses API retrieves a list of the top 10 courses in the community, ranked by the number of enrollments. The API returns course details including course ID, title, and enrollment count. - Segments [Get Community Segments](https://api.useturf.io/get-community-segments-20888657e0.md): The Get Community Segments API retrieves a paginated list of all created segments within your community environment. The API returns segment details including segment ID, name, and description. - Segments [Add Member To Segment](https://api.useturf.io/add-member-to-segment-20890436e0.md): The Add Member To Segment API adds a specified community member to a segment in your community environment. The API requires the segment ID and user ID to add the member to the correct segment. - Segments [Remove Member From Segment](https://api.useturf.io/remove-member-from-segment-20890571e0.md): Th Remove Member From Segment API removes a specified member from a specified segment in your community environment. The API requires the segment ID and user ID to remove the member from the segment. - Gamification [Get Community Badges](https://api.useturf.io/get-community-badges-21082800e0.md): The Get Community Badges API retrieves all existing badges in your community environment. Badges consist of an ID, name, and image. - Gamification [Award Badge To Member](https://api.useturf.io/award-badge-to-member-21082807e0.md): The Award Badge To Member API awards a defined badge to a member in your community. This action is typically performed by community moderators or administrators (or automatically by the system) when certain criteria are met by the member's participation in your community. - Gamification [Remove Badge From Member](https://api.useturf.io/remove-badge-from-member-21086209e0.md): The Remove Badge From Member API removes a defined badge from a member in your community. This API requires you to define the member that you want to remove the badge from and the badge that your want to remove from the member.