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

# Category tree

`GET /categorytree/{instancekey}`

## Request

- Base URL: `https://gateway.tweakwisenavigator.com`
- URL: `https://gateway.tweakwisenavigator.com/categorytree/{instancekey}`
- Auth: none declared

Service that provides a category tree.

## Path parameters

- `instancekey` string, required

## Query parameters

- `catid` number
- `tn_lang` string
- `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.dev/tweakwise/apis/delivery-api.md) - [All operations](https://skmtc.dev/tweakwise/apis/delivery-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tweakwise/apis/delivery-api/revisions/8b9edcf45234?raw)
