---
title: "Check Existance or Create Index Teamplte"
method: POST
path: "/api/v2/indexing/check-or-create-template"
tags: ["IndexV2"]
---

# Check Existance or Create Index Teamplte

`POST /api/v2/indexing/check-or-create-template`

Checks existance or create index tempalte

## Headers

- `X-HawkSearch-ApiKey` string, required

## Request body

- IndexTemplateParams — Index template params
  - `TemplateSuffix` string — User defined suffix

## Response `200`

OK

- object

---

[API](https://skmtc.net/hawksearch/apis/hawksearch-elasticsearch-indexingapi.md) · [All operations](https://skmtc.net/hawksearch/apis/hawksearch-elasticsearch-indexingapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hawksearch/hawksearch-elasticsearch-indexingapi/versions/24cba7bf3468/schema)
