Team Model

This is the definition of Teams.

The schema for Team objects is as follows:

Team Schema

  "type": "object",
  "properties": {
    "id": {
      "type": "integer"
    },
    "orgId": {
      "type": "integer"
    },
    "workspaceId": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string"
    },
    "updatedAt": {
      "type": "integer"
    },
    "members": {
      "type": "array",
      "items": {
        "type": "integer"
      }
    },
    "owner": {
      "type": "integer"
    },
    "status": {
      "type": "string",
      "enum": ["ENABLED", "ARCHIVED"]
    },
    "main": {
      "type": "boolean"
    },
    "autoOffline": {
      "type": "boolean"
    },
    "teamAvailabilityMode": {
      "type": "string",
      "enum": ["ALWAYS_ONLINE", "ALWAYS_OFFLINE", "CUSTOM_HOURS"]
    },
    "responseTimerEnabled": {
      "type": "boolean"
    }
  }

Top Level Team Field Explanation

These attributes will be present on the model or absent if the value has not been set.

Field NameTypeDescription
idintThe unique identifier for the team.
orgIdintThe organization's ID to which the team belongs.
workspaceIdstringThe workspace ID associated with the team.
namestringThe name of the team.
updatedAtlongThe timestamp representing the last update time of the team.
membersarray of integersAn array containing the user IDs of members who are part of the team.
ownerintThe user ID of the team owner.
statusstringThe status of the team, which can have values like "ENABLED," or "ARCHIVED."
mainbooleanA boolean flag that indicates whether the team is the main
autoOfflinebooleanA boolean flag to determine if the team should automatically go offline or unavailable after a period of inactivity.
teamAvailabilityModestringThe team's availability mode, which can have values like "ALWAYS_ONLINE," "ALWAYS_OFFLINE," or "CUSTOM_HOURS."
responseTimerEnabledbooleanA boolean flag that specifies if the team has a response timer enabled.