Skip to main content
GET
/
v1
/
cohorts
/
{id}
/
students
List enrolled students
curl --request GET \
  --url https://api.example.com/v1/cohorts/{id}/students

Documentation Index

Fetch the complete documentation index at: https://docs.hawkings.education/llms.txt

Use this file to discover all available pages before exploring further.

Path parameters

id
string
required

Query

limit
integer
default:"20"
starting_after
string

Examples

const students = await hk.cohorts.students("coh_123");

// Equivalent:
const same = await hk.students.list({ cohort_id: "coh_123" });

Returns

A paginated list of User objects with role: "student".