Skip to main content
curl -X POST "https://api.adrelay.dev/v1/api-keys/rotate" \
  -H "X-API-Key: $ADRELAY_API_KEY"
{
  "id": "key_new456",
  "api_key": "ar_live_newkey1234567890abcdef",
  "created_at": "2026-03-21T10:00:00Z"
}
The new API key is returned in the api_key field. Store it securely — this is the only time the full key will be shown. The previous key is invalidated immediately upon rotation.