Docs
← chronapilot.com v 2026-05-12

user.location_updated

Most-recent location for a user changed (only fires if tracking enabled).

Subscribe

curl
curl https://api.chronapilot.com/v1/webhook_endpoints \
  -X POST \
  -H "Authorization: Bearer sk_live_…" \
  -d '{ "url": "https://your-app.com/webhooks/chronapilot", "events": ["user.location_updated"] }'

Delivery payload

JSON
{
  "id": "whe_8x9y0z1a2b",
  "type": "user.location_updated",
  "api_version": "2026-05-20",
  "created": 1716247200,
  "data": {
    "object": {
      "user_id": "usr_1abc2def3ghi",
      "lat": 34.05,
      "lng": -118.24,
      "recorded_at": "2026-05-22T13:35:00-07:00"
    }
  },
  "livemode": true,
  "request_id": "req_1A2b3C4d5E6f"
}

When it fires

Most-recent location for a user changed (only fires if tracking enabled). See the User concepts for an overview of the surrounding lifecycle.

Handling tips

  • Treat the delivery as the latest state. Re-fetch the resource if you need confirmation against the source of truth.
  • Dedupe on id — the same event may arrive more than once.
  • Respond with 2xx within 8 seconds to avoid retry pressure.