---
title: "Category tree"
method: GET
path: "/categorytree/{instancekey}"
tags: ["Category tree"]
---

# Category tree

`GET /categorytree/{instancekey}`

Service that provides a category tree.

## Path parameters

- `instancekey` string, required

## Query parameters

- `catid` number
- `tn_parameters` string
- `tn_parameters_except` string

## Headers

- `TWN-Source` string

## Response `200`

The response contains a collection of root categories. Typically only one root category or starting category exists so this array contains only one category.

- CategoryTreeResponse
  - `categories` Category[] — List of root categories
    - `title` string — Category title
    - `categoryid` integer — Category ID
    - `categorypath` string — Category path
    - `children` object[] — Recursive list of child categories

## Other responses

- `401` — Invalid instancekey supplied

---

[API](https://skmtc.net/tweakwise/apis/frontend-api.md) · [All operations](https://skmtc.net/tweakwise/apis/frontend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tweakwise/frontend-api/revisions/9bd1e2b3633f/schema)
