# audience_orgs_enrollments_courses_users_retrieve List users enrolled in a specific course. This endpoint provides a list of users who are enrolled or unenrolled in a specified course. Query Parameters: course_id (str): The course ID to get enrollments for active (bool): Filter for active enrollments when true, inactive when false page (int, optional): Page number for pagination length (int, optional): Number of items per page Returns: A paginated list of users with: - Username - Full name - Email - Enrollment timestamp Endpoint: GET /api/audience/orgs/{org}/enrollments/courses/{course_id}/users Version: 3.59.0-ai-plus Security: PlatformApiKeyAuthentication ## Query parameters: - `active` (string) Any of , , . set to false or no for unenrollments * - y * - yes * - true * - True * - n * - no * - false * - False Enum: "y", "yes", "true", "True", "n", "no", "false", "False" - `department_id` (integer) When is passed, it allows to filter data for only user content groups for the specified department - `end_date` (string) end date. ISO 8601 - `format` (string) Format * - json Enum: "json" - `include_main_platform` (boolean) Include main platform data - `length` (integer) Size of data to return - `page` (integer) Page offset - `start_date` (string) start date. ISO 8601 ## Path parameters: - `course_id` (string, required) - `org` (string, required) ## Response 200 fields (application/json): - `data` (array) - `data.username` (string, required) learner username - `data.full_name` (string, required) learner Name - `data.email` (string, required) Email - `data.timestamp` (string, required) Course start date - `pagination` (object, required) - `pagination.totalItems` (integer, required) Total records - `pagination.currentPage` (integer, required) Current Page - `pagination.perPage` (integer, required) Size of data returned per page - `pagination.totalPages` (integer, required) Amount of pages