Device APIs

API ReferenceVerifiedShare on

Endpoints the Android app calls.

HM Redowan1 min readUpdated 2026-12-04

Bu sayfanın Türkçe çevirisi editör incelemesinde. İngilizce sürüm gösteriliyor.

MethodPathAuthPurpose
POST/api/public/device/pairnone{code} → {token}
GET/api/public/device/policytokenFull policy
POST/api/public/device/heartbeattokenStatus report
POST/api/public/device/eventstokenSecurity event
POST/api/public/device/unlock-requesttokenPermission request
GET/api/public/device/update?version_code=NtokenNewer APK, if any

Heartbeat body

json
{"battery_level": 80, "android_version": "14", "app_version": "1.30", "model": "SM-A156", "serial_number": "...",
 "restricted": true, "guard_accessibility": true, "guard_overlay": true, "guard_admin": true, "guard_owner": false}

All fields optional. The first heartbeat turns a pending device active.

Event body

json
{"event_type": "uninstall_attempt", "severity": "high", "message": "...", "occurred_at": "2026-12-04T09:00:00Z"}

Update response

json
{"update": {"version_code": 31, "version_name": "1.31", "notes": "...", "size_bytes": 123, "sha256": "...", "download_url": "https://..."}}
Bu sayfa yardımcı oldu mu?