---
title: "Get children of a category"
method: GET
path: "/api/v1/categories/children"
tags: ["Categories"]
---

# Get children of a category

`GET /api/v1/categories/children`

Returns a paginated list of child categories for the specified parent category inode. When 'allLevels' is true, returns categories at any depth; otherwise only immediate children.

## Query parameters

- `filter` string
- `page` integer
- `per_page` integer
- `orderby` string
- `direction` string
- `inode` string
- `showChildrenCount` boolean
- `allLevels` boolean
- `parentList` boolean

## Response `200`

Children categories retrieved successfully

- ResponseEntityCategoryWithChildCountView
  - `errors` ErrorEntity[]
    - `errorCode` string
    - `message` string
    - `fieldName` string
  - `entity` CategoryWithChildCountView
    - `inode` string
    - `parent` string
    - `description` string
    - `keywords` string
    - `key` string
    - `categoryName` string
    - `active` boolean
    - `sortOrder` integer
    - `categoryVelocityVarName` string
    - `modDate` string, date-time
    - `childrenCount` integer
  - `messages` MessageEntity[]
    - `message` string
  - `i18nMessagesMap` object
  - `permissions` string[]
  - `pagination` Pagination
    - `currentPage` integer
    - `perPage` integer
    - `totalEntries` integer

## Other responses

- `400` — Bad request
- `401` — Authentication required
- `403` — Insufficient permissions
- `404` — Parent category not found

---

[API](https://skmtc.dev/jostens/apis/dotcms-rest-api.md) · [All operations](https://skmtc.dev/jostens/apis/dotcms-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jostens/dotcms-rest-api/revisions/a088fe9f515c/schema)
