Skip to main content
GET
/
api
/
public
/
courses
/
v2
/
my

List My Courses

Returns a paginated list of courses the authenticated customer has enrolled in. Includes progress information such as completed lesson count.

Authentication

Requires a valid customer bearer token.

Query Parameters

_shape
string
Comma-separated list of field paths to include in the response. When provided, only the specified fields are returned — useful for reducing payload size. Supports nested paths using dot notation. Example: _shape=Records.Name,Records.Description,Records.Progress.

Response

Returns an ApiListResult<CourseSummary> with the customer’s enrolled courses and progress. The top-level response includes standard pagination fields (CurrentPage, TotalItems, TotalPages, etc.). Each item in the Records array has:

Status

FieldTypeDescription
EnrolledbooleanWhether the customer is enrolled
CompletedbooleanWhether the customer has completed the course
CompletenessnumberCompletion percentage (0–1)
CanAccessCoursebooleanWhether the customer can access the course

Counts

FieldTypeDescription
AttendeeCountnumberTotal number of attendees
LessonsCountnumberTotal number of lessons

Attendee

FieldTypeDescription
Attendee.IdnumberAttendee identifier
Attendee.FullNamestringAttendee full name
Attendee.EmailstringAttendee email address
Attendee.CreatedOnstringEnrolment date (local)
Attendee.CreatedOnUtcstringEnrolment date (UTC)

Course

FieldTypeDescription
Course.IdnumberCourse identifier
Course.TitlestringCourse title
Course.SummaryTextstringShort course summary
Course.FullDescriptionstringFull course description
Course.OverviewTextstringCourse overview text
Course.GroupNamestringCourse group/category name
Course.VisibilitystringCourse visibility setting
Course.ActivebooleanWhether the course is active
Course.ShowInHomePagebooleanWhether shown on home page
Course.ShowOverviewbooleanWhether overview is shown
Course.HasCommunityGroupbooleanWhether course has a community group
Course.BusinessBusinessBusiness hosting the course

Nested Objects

FieldTypeDescription
TariffTariffAssociated plan/tariff
AttendeesCoworker[]List of course attendees
CommunityGroupobjectCommunity group (Id, Name)
Lessonsobject[]Course lessons
HostCoworkerCourse host/instructor
CreatedOnUtcstringRecord creation timestamp (UTC)

Examples

Fetch enrolled courses

GET /api/public/courses/v2/my
Authorization: Bearer {token}

TypeScript Integration

import endpoints from '@/api/endpoints'

const { resource: myCourses } = useTypedData(httpClient, endpoints.courses.my())