Search Potential Members
Testing
GET
/spaces/{spaceId}/members/potential
courseRole
, as well as the course members who currently have this courseRole
.courseId
: The id of the course that you want to list the potential members of.username
: The username of the member.spaceId
: Space 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/spaces/66479aa5905bfd0cb5377619/members/potential?courseId=66479aa5905bfd0cb5377619&username=paulo&limit=50&next=&prev=&sortBy=&sortDirection=asc' \
--header 'apikey: '
Response Response Example
200 - Success
{
"data": [
{
"id": "6654496d6ff90ca9d3cad033",
"fullName": "Leul Ejigu",
"picture": null,
"courseRole": "course-teacher",
"spaceRole": null
}
],
"cursor": {
"next": null,
"prev": null,
"totalItems": 1
}
}
Request
Path Params
spaceId
stringÂ
required
Example:
66479aa5905bfd0cb5377619
Query Params
courseId
stringÂ
optional
Example:
66479aa5905bfd0cb5377619
username
stringÂ
optional
Example:
paulo
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-10 05:53:31