There are a couple of different ways to get team information.
GET /teams
team:read
owner
Response: Paginated Array
id
- string: Team Idname
- string: Team nametotal_users
- number: Sum of all users currently in teamExample
$ http GET 'http://localhost:5000/teams?limit=2' 'X-Tactic-Orgz: ORGANIZATION_SLUG' 'Authorization: Bearer ACCESS_TOKEN'HTTP/1.1 200 OK{"cursor": "team_eb2d3761-21ec-433b-bd23-944cd9c22a98","elements": [{"id": "team_481f5742-9620-49df-82aa-ce23d64e5575","name": "Test Org - Team 1","total_users": 1},{"id": "team_eb2d3761-21ec-433b-bd23-944cd9c22a98","name": "Test Org - Team 2","total_users": 3}]}
GET /teams/:id
team:read
owner
Response: Paginated Array
id
- string: Team Idname
- string: Team nametotal_users
- number: Sum of all users currently in teamExample
$ http GET 'http://localhost:5000/teams/team_eb2d3761-21ec-433b-bd23-944cd9c22a98' 'X-Tactic-Orgz: ORGANIZATION_SLUG' 'Authorization: Bearer ACCESS_TOKEN'HTTP/1.1 200 OK{"id": "team_eb2d3761-21ec-433b-bd23-944cd9c22a98","name": "Test Org - Team 2","total_users": 3}