groups

Group Members List

GET
Lists the members in a group.

Query parameters

groupstringRequired
ID of the group for which to list members.
cursorstringOptional
The cursor to resume iteration from. If not provided, then iteration starts from the beginning.
limitintegerOptional
The maximum number of members to return. If not set, then the default is '50'.
modeenumOptional
The iteration mode to use, otherwise if not set, then "after" is used.
Allowed values: afterbefore

Response

This endpoint returns an object
members
list of objects
List of members.
next_cursor
stringOptional
The cursor used to iterate subsequent results in accordance to the sort order. If not set, then no later elements exist.
prev_cursor
stringOptional
The cursor used to iterate preceding results in accordance to the sort order. If not set, then no prior elements exist.
GET
1curl -G https://api.devrev.ai/groups.members.list \
2 -H "Authorization: <apiKey>" \
3 -d group=group
200
Retrieved
1{
2 "members": [],
3 "next_cursor": "next_cursor",
4 "prev_cursor": "prev_cursor"
5}