List groups
List the learner groups of your WorkRamp.
GET https://cotlet.dev/api/v1/workramp/groups
read
Returns each group name with its member count. Group names are what the group filter of list_learners and list_assignments takes.
Parameters
| Name | Type | Description |
|---|---|---|
| cursor string | string | Next page cursor from the previous call. |
Request
curl https://cotlet.dev/api/v1/workramp/groups \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("workramp", "list_groups") const result = await cotlet.call('workramp', 'list_groups'); cotlet call workramp list_groups Example response
{
"groups": [
{
"name": "Sales",
"members": 12
},
{
"name": "Support",
"members": 20
}
],
"next_cursor": null
}