Returns teams in the workspace. The result follows the workspace's team visibility restrictions.
Authentication
AuthorizationBearerSend your token in the Authorization: Bearer <token> header. See Authentication for API keys and OAuth.
Query parameters
includeUserIdsbooleanOptionalfalseWhether to include the ids of users that are in the team.
includeProjectIdsbooleanOptionalfalseWhether to include the ids of projects that are assigned to the team.
pageintegerOptional1Page number for pagination
pageSizeintegerOptional10Number of items per page
orderbystringOptionalThe properties to order by
filterbystringOptionalThe filter expression to filter by
Responses
200 OK
application/json
namestringRequired0 maxLength: 255 The team name.
iconstring or nullOptional0 maxLength: 25 The icon of the team. Optional. Possible values: 'attach_money', 'poll', 'golf_course', 'all_inclusive', 'portrait', 'timeline', 'transform', 'description', 'folder', 'computer', 'web', 'phone_iphone', 'cloud', 'local_movies', 'shopping_cart', 'brush', 'image', 'camera_alt', 'movie_creation', 'public', 'whatshot', 'extension', 'explore', 'lock', 'settings', 'stars', 'store', 'school', 'local_bar', 'question_answer', 'favorite', 'work', 'flight_takeoff', 'map', 'local_dining'.
colorstring or nullOptional0 maxLength: 14 The color of the team. Optional. Possible values: 'red', 'coral', 'yellow', 'green', 'teal', 'arctic', 'blue', 'azure', 'purple', 'violet'.
idstringOptionalThe id of the team.
createdOnstringOptionalThe date this team was created.
createdBystring or nullOptionalThe id of the user who created this team.
updatedOnstringOptionalThe date this team was last modified.
updatedBystring or nullOptionalThe id of the user who last updated this team.
userIdsarray of string or nullOptionalThe ids of the users in the team.
projectIdsarray of string or nullOptionalThe ids of the projects in the team.