Skip to main content
POST
/
api-key
/
migrate
curl -X POST https://scrape.st/api-key/migrate \
  -H "x-api-key: YOUR_API_KEY"
{
  "data": null,
  "message": "API key rotation queued. Your key is being migrated in the background."
}
Rotate your API key. Queues a background job that generates a new key and migrates all associated tracking, webhooks, and configuration.
Your current API key will stop working once migration completes. Make sure to update your integration with the new key.

Response

Returns 202 Accepted when the rotation job is queued.
data
null
Always null — the new key will be delivered asynchronously.
message
string
Status message
curl -X POST https://scrape.st/api-key/migrate \
  -H "x-api-key: YOUR_API_KEY"
{
  "data": null,
  "message": "API key rotation queued. Your key is being migrated in the background."
}