---
title: "Submit every sitemap URL to IndexNow"
method: GET
path: "/api/indexnow"
tags: ["ops"]
---

# Submit every sitemap URL to IndexNow

`GET /api/indexnow`

## Request

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

Collects all URLs from the sitemap and submits them to IndexNow in one batch. `success`/`status` echo the IndexNow API response; an IndexNow rejection still answers 200 with `success: false`.

## Response `200`

Sitemap URLs submitted.

- IndexNowSitemapSubmission: Result of submitting all sitemap URLs.
  - `submitted` integer, required: Number of URLs sent.
  - `success` boolean, required: IndexNow answered 2xx.
  - `status` integer, required: HTTP status returned by the IndexNow API.

## Other responses

- `401`: Missing or wrong `Authorization: Bearer <INDEXNOW_SECRET>` header.
- `500`: Building the sitemap or calling IndexNow failed.

---

[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)
