This document is generated by Aladia.
role
.roles
: The roles of the course members to filter by.username
: The name of the course member to be searched, an optional query param.type
: The type of the member to be searched, an optional query param.purchased
: A boolean value to fetch members who purchased the course.courseId
: Course Id from which the list of members will be returnedcurl --location --request GET 'https://api.aladia.io/v2/courses//members/search?roles=course-teacher, course-attendant&username&type=profile&cycle=&purchased&limit=50&next=&prev=&sortBy=&sortDirection=asc' \
--header 'apikey: '
{
"data": [
{
"id": "64fa79fe6d364f0eabe4574e",
"picture": "https://loremflickr.com/640/480",
"firstName": "Kylee",
"lastName": "Nolan",
"name": "Sherri Stiedemann"
}
],
"cursor": {
"next": null,
"prev": null,
"totalItems": 1
}
}