Search Member
Developing
GET
/courses/{courseId}/members/search
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 returnedRequest Request Example
Shell
JavaScript
Java
Swift
curl --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: '
Response Response Example
200 - Success
{
"data": [
{
"id": "64fa79fe6d364f0eabe4574e",
"picture": "https://loremflickr.com/640/480",
"firstName": "Kylee",
"lastName": "Nolan",
"name": "Sherri Stiedemann"
}
],
"cursor": {
"next": null,
"prev": null,
"totalItems": 1
}
}
Request
Path Params
courseId
stringÂ
required
Query Params
roles
stringÂ
required
Example:
course-teacher, course-attendant
username
stringÂ
optional
type
stringÂ
optional
Example:
profile
cycle
stringÂ
optional
purchased
booleanÂ
optional
limit
integerÂ
optional
Default:
50
next
stringÂ
optional
prev
stringÂ
optional
sortBy
stringÂ
optional
sortDirection
enum<string>Â
optional
Allowed values:
ascdesc
Default:
asc
Header Params
apikey
stringÂ
optional
Example:
{{apikey}}
Responses
Modified at 2025-04-08 15:39:17