Developers
XR mission
API
Reward engine on https://wead.live/api/xr/*. This host serves the product site and demo; clients call WeAD for sessions, placements, missions, and wallet.
| Method | Path | Purpose |
|---|---|---|
| POST | /api/xr/session/start | Open MR session |
| POST | /api/xr/session/end | Close session |
| GET | /api/xr/placements | List geo placements |
| GET | /api/xr/missions/active | Current step + earned |
| POST | /api/xr/missions/advance | Complete next step |
| GET | /api/xr/wallet/summary | Available WEAD |
| GET | /api/xr/rewards/summary | Auth earnings |
| POST | /api/xr/interactions | Legacy credit |
Advance mission
POST https://wead.live/api/xr/missions/advance
{
"placementId": "plc-…",
"sessionId": "…",
"step": 2,
"interactionType": "gesture_tap",
"dwellMs": 1200,
"confidence": 0.9,
"lat": 14.5547,
"lng": 120.9842
}
Client wrapper: /static/js/interact-api.js · include cookies when signed in at wead.live.
Host health
GET https://interact.wead.live/health
→ { "ok": true, "service": "interact-earn-xr", "version": "0.3.0-alpha" }