Skip to main content
GET
/
hierarchy
/
{id}
Get a folder
curl --request GET \
  --url https://api.closebot.com/hierarchy/{id} \
  --header 'X-CB-KEY: <api-key>'
{
  "id": "<string>",
  "name": "<string>",
  "bots": [
    "<string>"
  ],
  "personas": [
    "<string>"
  ],
  "children": [
    "<string>"
  ]
}

Authorizations

X-CB-KEY
string
header
required

CloseBot API Key Authorization

Path Parameters

id
string
required

The ID of the folder to get.

Response

Success

id
string | null

The ID of the folder

name
string | null

The name of the folder

bots
string[] | null

The list of bots in the folder

personas
string[] | null

The list of personas in the folder

children
string[] | null

The list of children folders