Tell search engines which pages changed.
Submits the pages whose wording changed, or that first appeared, in the last few days. Generates and stores the ownership key on first use.
POST
https://app.softsolz.uk/api/v1/services/seo/sites/{site_id}/indexnowRecent Requests
Log in to see full request historyTimeStatusUser Agent
Make a request to see history.
Path Params
site_idstringrequiredHeaders
AuthorizationstringrequiredBearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.
Body Params
daysintegerHow far back to look for changes. Defaults to 7.
limitintegerHow many URLs at most.
Response
Response Body
submittedintegerHow many URLs were sent.batch_idstring | nullThe batch reference.http_statusinteger | nullWhat the endpoint answered.Request
import { SoftSolz } from '@softsolz/sdk';
const client = new SoftSolz({ apiKey: process.env.SOFTSOLZ_API_KEY });
const result = await client.seo.submitIndexNow('<site_id>', { "days": 7});console.log(result);Credentials
Sent as a Bearer token. Stored only in your browser.
Response · 200
{ "data": { "submitted": 0, "batch_id": "string", "http_status": 0 }}