---
title: "Register the IndexNow key the site hosts (Instant Indexing plugin)."
method: POST
path: "/indexnow/register"
---

# Register the IndexNow key the site hosts (Instant Indexing plugin).

`POST /indexnow/register`

## Request

- Base URL: `https://app.seomatic.ai/api/v1`
- URL: `https://app.seomatic.ai/api/v1/indexnow/register`
- Auth: HTTP bearer

Saves the workspace's IndexNow integration from a key the site already hosts. keyLocation must be the site's own {key}.txt URL on the site this key was paired on; the file is fetched and must contain exactly the key before anything is saved.

## Request body

- object
  - `key` string, required: IndexNow key, 8-128 of [a-zA-Z0-9-].
  - `keyLocation` string, required: The site's own https://host/{key}.txt URL.

## Response `200`

Verified and saved

- object
  - `registered` boolean
  - `keyLocation` string

## Other responses

- `400`: Invalid key or key location
- `409`: Key file is on another site than the paired one
- `422`: Key file did not answer with the key

---

[API](https://skmtc.dev/seomatic/apis/seomatic-api.md) · [All operations](https://skmtc.dev/seomatic/apis/seomatic-api/llms.txt) · [OpenAPI document](https://skmtc.dev/seomatic/apis/seomatic-api/revisions/113a2a263604?raw)
