List groups
User groups of the account with their member count.
GET https://cotlet.dev/api/v1/ispring/groups
read
Returns the groups of the Users section. A user can be in any number of groups, and a group can hold users from several departments. Use group_id in list_users and add_users_by_email.
Parameters
No parameters.
Request
curl https://cotlet.dev/api/v1/ispring/groups \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("ispring", "list_groups") const result = await cotlet.call('ispring', 'list_groups'); cotlet call ispring list_groups Example response
{
"groups": [
{
"group_id": "g_3",
"name": "New hires 2026",
"members": 17
},
{
"group_id": "g_4",
"name": "Team leads",
"members": 9
}
]
}