---
title: "Submit specific site paths to IndexNow"
method: POST
path: "/api/indexnow"
tags: ["ops"]
---

# Submit specific site paths to IndexNow

`POST /api/indexnow`

## Request

- Base URL: `https://voltplan.app`
- URL: `https://voltplan.app/api/indexnow`
- Auth: HTTP bearer

Each entry of `urls` is a site path (e.g. `/blog/my-post`); it is prefixed with `https://voltplan.app` and the result is submitted to IndexNow. `success`/`status` echo the IndexNow API response.

## Request body

- IndexNowSubmitRequest
  - `urls` string[], required: Site paths such as `/blog/my-post`; a missing leading slash is added.

## Response `200`

URLs submitted.

- IndexNowUrlSubmission: Result of submitting the given paths.
  - `submitted` integer, required: Number of URLs sent.
  - `urls` string[], required: Absolute URLs that were submitted.
  - `success` boolean, required: IndexNow answered 2xx.
  - `status` integer, required: HTTP status returned by the IndexNow API.

## Other responses

- `400`: `urls` is missing, empty or not an array, or the body is not valid JSON. The handler also maps any exception during submission to `Invalid request body`.
- `401`: Missing or wrong `Authorization: Bearer <INDEXNOW_SECRET>` header.

---

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