Search Members
Testing
GET
/spaces/{spaceId}/members/search
username
.roles
: The role to filter the space membersusername
: The username of the space memberalreadyMember
: To filter members that have accepted an invitation or not.courseId
: The courseId that the license belongs to.licensed
: To filter members that have license or not, if not present it will return members regardless of license.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/search?username=leul&roles=space-member, space-coordinator&alreadyMember=true&licensed&courseId=672d82ad1adbd4482345c9d8&limit=50&next=&prev=&sortBy=&sortDirection=asc' \
--header 'apikey: '
Response Response Example
200 - Success
{
"data": [
{
"id": "66d0233c1681058994bce488",
"fullName": "Leul Ejigu",
"picture": null,
"role": "space-owner",
"online": false
}
],
"cursor": {
"next": null,
"prev": null,
"totalItems": 1
}
}
Request
Path Params
spaceId
stringÂ
required
Example:
66479aa5905bfd0cb5377619
Query Params
username
stringÂ
optional
Example:
leul
roles
array[string]
optional
Example:
space-member, space-coordinator
alreadyMember
booleanÂ
optional
Example:
true
licensed
booleanÂ
optional
courseId
stringÂ
optional
Example:
672d82ad1adbd4482345c9d8
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:52:46