POST /sync

Available

Periodic poll for current config, min-version, and optional geo update.

POSThttps://ctrlapp.krdcode.com/api/public/sdk/v1/sync
Auth: Bearer <PUBLISHABLE_KEY>

Body cap 16 KiB.

Body

json
{
  "device_uid": "<DEVICE_ID>",
  "lat": 40.7128,          // optional
  "lng": -74.0060,         // optional
  "app_version": "1.2.3"
}

Errors

  • 400 — invalid body.
  • 401 — bad key / signature.
  • 404"Unknown device — call /register first".
  • 413 — body over 16 KiB.
  • 429 — subject to per-app rate limits.
Back to top