Skip to content

Returns a flattened, spreadsheet-shaped list of a course roster — name, email, username, progress percentage, enrolment date and last activity.

Capped at 5000 students in a single call and filterable with search. Progress is calculated in bulk for the whole page rather than per student.

Endpoint

  • Method: GET

  • Path: /admin/courses/{course_id}/export/students

  • Edition: PRO

  • Controller: ProAdminController@getExportableStudents

  • Route source: fluent-community-pro/app/Http/Routes/api.php:27

  • Controller source: fluent-community-pro/app/Http/Controllers/ProAdminController.php

  • Requires a course admin for this course, or a WordPress user with manage_options.

  • Requires FluentCommunity Pro.

  • The response includes member email addresses.

Live sample

The request and response below were recorded against a running FluentCommunity install and then anonymised — member names, emails, avatars and post content are fictional, and long collections are trimmed to a few entries.

GET Get Exportable Students

GET
/admin/courses/{course_id}/export/students

Returns a flattened, spreadsheet-shaped list of a course roster — name, email, username, progress percentage, enrolment date and last activity.

Controller: ProAdminController@getExportableStudents
Route source: fluent-community-pro/app/Http/Routes/api.php:27

Authorizations

ApplicationPasswords

WordPress Application Passwords — use Basic auth with username:application_password.

Type
API Key (header: Authorization)

Parameters

Path Parameters

course_id*

Course ID extracted from the URL path.

Type
integer
Required

Query Parameters

search

Search read via $request->getSafe() in getExportableStudents().

Type
string

Responses

Successful response

application/json
JSON
{
  
"students": [
  
  
{
  
  
  
"Email": "string",
  
  
  
"Enrollment Date": "string",
  
  
  
"Last Activity": "string",
  
  
  
"Name": "string",
  
  
  
"Progress": "string",
  
  
  
"Username": "string"
  
  
}
  
]
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

FluentCommunity developer documentation