GET
/
team
/
tree
curl --request GET \
  --url https://demo.enneo.ai/api/mind/team/tree
[
  {
    "id": 1,
    "name": "Support",
    "parent": 0,
    "description": "Allgemeine Fragen",
    "settings": {
      "roleId": 1,
      "skills": {
        "tagIds": [
          1,
          2
        ],
        "channels": [
          "email",
          "chat"
        ]
      },
      "supersetRole": "analyticsReadAll",
      "inheritParentalSettings": true
    },
    "children": [
      {
        "id": 2,
        "name": "Support for financial issues",
        "parent": 1,
        "description": "Finanzielle Fragen",
        "settings": {
          "roleId": 1,
          "skills": {
            "tagIds": [
              1,
              2
            ],
            "channels": [
              "email",
              "chat"
            ]
          },
          "supersetRole": "analyticsReadAll",
          "inheritParentalSettings": true
        },
        "children": [
          {}
        ]
      }
    ]
  }
]

Authorizations

connect.sid
string
cookie
required

Cookie-based authentication

Response

200
application/json
Successful operation
id
integer

The unique identifier of the team

name
string

The name of the team

parent
integer

The parent id of the team

description
string | null

The description of the team

settings
object
children
object[]