Auto-Sync Webhooks

Set up automatic data synchronization

Auto-Sync Already Active! ⚡

Smart Auto-Sync: Data automatically refreshes when users visit pages

Cooldown: Only syncs if data is older than 30 minutes

💡 The webhooks below are optional for more frequent updates or background syncing!

🔐 Setup: Create Your Webhook API Key

⚠️ Required Setup

  1. Go to Dashboard → Settings → Secrets
  2. Add a new secret: WEBHOOK_API_KEY
  3. Set a strong random value (e.g., a UUID or long random string)
  4. Use that same value in your webhook calls below

Update this to see it in the examples below

Available Webhook Endpoints

Sync All Data
POST

Syncs both YouTube and Roblox data in one call

https://nikoplayz.com/api/functions/webhookSyncAll
curl -X POST "https://nikoplayz.com/api/functions/webhookSyncAll" \
  -H "Content-Type: application/json" \
  -d '{"api_key": "your-webhook-api-key"}'
Sync YouTube Only
POST

Syncs only YouTube videos and channel stats

https://nikoplayz.com/api/functions/webhookSyncYouTube
curl -X POST "https://nikoplayz.com/api/functions/webhookSyncYouTube" \
  -H "Content-Type: application/json" \
  -d '{"api_key": "your-webhook-api-key"}'
Sync Roblox Only
POST

Syncs only Roblox games data

https://nikoplayz.com/api/functions/webhookSyncRoblox
curl -X POST "https://nikoplayz.com/api/functions/webhookSyncRoblox" \
  -H "Content-Type: application/json" \
  -d '{"api_key": "your-webhook-api-key"}'
Recommended Cron Services

Use these services to automatically call your webhooks on a schedule

cron-job.org

Recommended
Free

Free forever, run jobs every 1 minute

UptimeRobot

Free

Monitor & ping every 5 minutes (free tier)

EasyCron

Free

Free tier with limited jobs

Google Cloud Scheduler

Paid service with free quota

📝 Setup Instructions

  1. Sign up for a free account on one of the services above
  2. Create a new cron job / monitor
  3. Set the URL to one of your webhook endpoints
  4. Configure it as a POST request with JSON body: {"api_key": "your-key"}
  5. Set the schedule (recommended: every 30-60 minutes)
  6. Save and activate!

🍪 We Use Cookies

We use cookies to enhance your experience, analyze site traffic, personalize content, and serve targeted advertisements. By clicking "Accept All", you consent to our use of cookies, including collecting your IP address for analytics and advertising purposes.