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

Top Community Courses

GET
https://2e0a7m2i9j.execute-api.eu-central-1.amazonaws.com/prod/community/v1/courses/top
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.

Request

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/courses/top' \
--header 'x-api-key: api_key'
Response Response Example
200 - Example 1
{
    "message": "string",
    "data": [
        {
            "status": "string",
            "title": "string",
            "bannerUrl": "string",
            "prevUrl": "string",
            "description": "string",
            "created_at": "string",
            "post_title_slug": "string",
            "lesson_count": 0,
            "first_name": "string",
            "last_name": "string",
            "profile_pic": "string",
            "email": "string",
            "job_title": "string",
            "company_name": "string",
            "total_enrollments": 0
        }
    ]
}
Modified at 2025-09-03 12:22:49
Previous
Create comment on comment
Next
Get Community Segments
Built with