v14

latestOpenAPI 3.0.32026-08-04377889.4 MB
teams

List all teams

Get a paginated list of all the Teams the authenticated User is a member of.

get/v2/teams

Query parameters

limitnumber

Maximum number of Teams which may be returned.

Example:20

Maximum number of Teams which may be returned.

sincenumber

Timestamp (in milliseconds) to only include Teams created since then.

Example:1540095775951

Timestamp (in milliseconds) to only include Teams created since then.

untilnumber

Timestamp (in milliseconds) to only include Teams created until then.

Example:1540095775951

Timestamp (in milliseconds) to only include Teams created until then.

Response

A paginated list of teams.

Example response

{
  "teams": [
    {
      "creatorId": "R6efeCJQ2HKXywuasPDc0fOWB",
      "updatedAt": 1611796915677,
      "emailDomain": "example.com",
      "saml": {
        "connection": {
          "type": "OktaSAML",
          "state": "active",
          "connectedAt": 1611796915677,
          "lastReceivedWebhookEvent": 1611796915677,
          "lastSyncedAt": 1611796915677
        },
        "directory": {
          "type": "OktaSAML",
          "state": "active",
          "connectedAt": 1611796915677,
          "lastReceivedWebhookEvent": 1611796915677,
          "lastSyncedAt": 1611796915677
        }
      },
      "inviteCode": "hasihf9e89",
      "description": "Our mission is to make cloud computing accessible to everyone.",
      "previewDeploymentSuffix": "example.dev",
      "platform": true,
      "id": "team_nllPyCtREAqxxdyFKbbMDlxd",
      "slug": "my-team",
      "name": "My Team",
      "avatar": "6eb07268bcfadd309905ffb1579354084c24655c",
      "createdAt": 1630748523395,
      "parentId": "org_nllPyCtREAqxxdyFKbbMDlxd",
      "orgRootTeamId": "team_nllPyCtREAqxxdyFKbbMDlxd"
    }
  ],
  "pagination": {
    "count": 20,
    "next": 1540095775951,
    "prev": 1540095775951
  }
}