GSC Integration Test Page

Test the Google Search Console integration before adding it to production

System Tests
Verify that GSC endpoints and configuration are working
Documentation
Resources and guides
Manual API Tests
Test endpoints directly (copy these commands to your terminal)

1. Test Cron Job

curl -X GET "http://localhost:3000/api/cron/fetch-gsc-data?secret=peekaboo-cron-secret-2025-prod"

2. Fetch Data Manually

curl -X POST http://localhost:3000/api/gsc/fetch \
  -H "Content-Type: application/json" \
  -d '{"brandId": "undefined", "daysBack": 30}'

3. Get GSC Data

curl -X GET "http://localhost:3000/api/gsc/data?brandId=&days=30"

4. Run Test Script

node scripts/test/test-gsc-integration.js
Debug Information

Active Brand ID: None

Total Brands: 0

Base URL: https://www.aipeekaboo.com

GSC Enabled:

No