List Teams API
List teams and resolve group IDs.
List teams, internally called groups. Use each team's id as group_id in reports and user searches.
Endpoint
GET https://api.in.we360.ai/api/v1/groups/Query parameter
Description
page
Page number.
size
Page size. The portal uses 500.
Example
curl -X GET "https://api.in.we360.ai/api/v1/groups/?page=1&size=500" \
-H "Authorization: Bearer ${access_token}"Response
{
"data": [
{
"id": "d1e2f3a4-team-uuid",
"name": "Engineering",
"parent_id": null,
"description": "Core engineering team"
}
],
"meta": { "totalCount": 12 }
}This endpoint does not return a member count. Calculate it from users whose attached_group_id equals the team id.
Last updated
Was this helpful?