GET
/
api
/
v3
/
departments
/
tree
curl --request GET \
  --url https://{host}/api/v3/departments/tree \
  --header 'Authorization: <authorization>'
{
  "data": {
    "node": null,
    "children": [
      {
        "node": {
          "id": 123,
          "name": "<string>",
          "url": "<string>"
        },
        "children": [
          {}
        ]
      }
    ]
  }
}

Headers

Authorization
string
required

API key. Value must be formatted like so: lucca application={api_key}.

Response

200
application/json
OK
data
object