v1

latestOpenAPI 3.0.02026-07-23620132.5 KB
Teams

List teams

Gets the list of teams in the organization with specified organizationId.

get/teams

Query parameters

organizationIdinteger required

The ID of the organization.

includePrivateSpacesboolean

When true, the caller's private space(s) — companies of type personal — are included in the list alongside standard teams. Defaults to false. Has no effect when private spaces are not enabled for the organization. Request cols[]=type to tell private spaces apart from standard teams in the response.

cols[]string[]

Specifies columns that are returned in the response. Use the cols[] parameter for every column that you want to return in the response. For example GET /endpoint?cols[]=key1&cols[]=key2 to get both key1 and key2 columns in the response.

Check the "Filtering" section for a full example.

pg[sortBy]string

The value that will be used to sort returned entities by.

pg[offset]integer

The value of entities you want to skip before getting entities you need.

pg[sortDir]'asc' | 'desc'

The sorting order. It accepts the ascending and descending direction specifiers.

pg[limit]integer

Sets the maximum number of results per page in the API call response. For example, pg[limit]=100. The default number varies with different API endpoints.

Response

Successful response