cURL
curl --request GET \ --url https://api.select.dev/api/{organization_id}/teams \ --header 'Authorization: Bearer <token>'
{ "items": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "is_all_users": true, "default_member_role": "editor", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } ], "remaining_count": 123, "limit": 123, "offset": 123 }
Retrieve all teams within an organization
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
1 <= x <= 1000
x >= 0
Successful Response
Response model for listing teams with pagination metadata.
List of teams
Show child attributes
The unique identifier of the team
The name of the team
Whether this is the special 'all users' team that automatically includes all organization members
Default role assigned to new members when they are added to the team
editor
viewer
When the team was created
When the team was last updated
Number of teams remaining after pagination
Maximum number of items returned
Number of items skipped