curl --request POST \
--url https://api.closebot.com/hierarchy \
--header 'Content-Type: application/json' \
--header 'X-CB-KEY: <api-key>' \
--data '
{
"name": "<string>",
"parentId": "<string>"
}
'{
"id": "<string>"
}curl --request POST \
--url https://api.closebot.com/hierarchy \
--header 'Content-Type: application/json' \
--header 'X-CB-KEY: <api-key>' \
--data '
{
"name": "<string>",
"parentId": "<string>"
}
'{
"id": "<string>"
}