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
curl https://cotlet.dev/api/v1/ispring/groups \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("ispring", "list_groups")
Node.js
const result = await cotlet.call('ispring', 'list_groups');
CLI
cotlet call ispring list_groups

Example response

JSON

{
  "groups": [
    {
      "group_id": "g_3",
      "name": "New hires 2026",
      "members": 17
    },
    {
      "group_id": "g_4",
      "name": "Team leads",
      "members": 9
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.