Skip to main content
POST
Generate or save an IndexNow key
Body: optional host (defaults to the brand’s website host), existingKey (an IndexNow key, or its key file URL, you already host), and persist (default true; with false and no existingKey it only returns a generated key without saving). Returns { key, host, keyFileUrl, fileName }. Host the key at keyFileUrl, then call verify. Saving leaves the integration inactive until verified. Invalid key input returns 400 with message.

Authorizations

Authorization
string
header
required

Your SnowSEO API key (sk_...).

Body

application/json
host
string
existingKey
string
persist
boolean

Response

Default Response

key
string
host
string
keyFileUrl
string
fileName
string