Smalk Public API
string · required
IndexNow
Get IndexNow verification key
GET
https://api.smalk.ai
/api/v1/indexnow-key/
Retrieve the IndexNow verification key for your workspace.
CMS plugins (WordPress, Drupal) call this endpoint to sync the IndexNow key
and serve the /{key}.txt verification file that search engines require.
Authentication: Requires API Key in the Authorization header.
Format: Authorization: Api-Key YOUR_API_KEY
The workspace is identified automatically from the API key — no additional parameters are needed.
Response:
indexnow_key: The verification key string, or empty string if IndexNow is disabled.
How it works:
- Enable IndexNow in your Smalk Dashboard (Brand Safety settings)
- Your CMS plugin calls this endpoint periodically (cached for 2 minutes)
- The plugin serves
/{key}.txtat your domain root - When ad content is updated, Smalk pings IndexNow to notify search engines
Get IndexNow verification key › Responses
indexnow_keyThe IndexNow verification key, or empty string if disabled