---
title: "Get list of child sites"
method: POST
path: "/api/site/get-child"
tags: ["Site"]
---

# Get list of child sites

`POST /api/site/get-child`

## Request

- Base URL: `https://indexing-dev.hawksearch.net`
- URL: `https://indexing-dev.hawksearch.net/api/site/get-child`
- Auth: none declared. Required headers: `X-HawkSearch-ApiKey`
- TypeScript: <https://skmtc.dev/hawksearch/apis/hawksearch-elasticsearch-indexingapi/docs/api/site/get-child/post.ts> (a function with typed inputs; its response is checked against the schema)

Gets list of child sites

## Headers

- `X-HawkSearch-ApiKey` string, required

## Request body

- GetChildSitesParams: Get ChildSites Params
  - `IncludeParent` boolean: Include Parent site in response ?

## Response `200`

OK

- object

---

[API](https://skmtc.dev/hawksearch/apis/hawksearch-elasticsearch-indexingapi.md) - [All operations](https://skmtc.dev/hawksearch/apis/hawksearch-elasticsearch-indexingapi/llms.txt) - [OpenAPI document](https://skmtc.dev/hawksearch/apis/hawksearch-elasticsearch-indexingapi/revisions/24cba7bf3468?raw)
