SDK (@phosra/sdk)
Devices
Register a device
Register a device for on-device policy enforcement. Returns a one-time API key the iOS app stores in Keychain.
POST
SDK (@phosra/sdk)
Register an Apple device against a child to drive on-device enforcement (Screen Time / MDM-style
controls). Once registered, the device pulls its compiled policy and reports activity back.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
User-assigned device name (e.g. "Ada's iPhone").
Hardware model identifier (e.g. iPhone15,3).
Operating-system version reported by the device (e.g. 18.5).
Version of the Phosra app installed on the device.
Apple Push Notification service device token; null until the device registers for push.
Apple frameworks the device supports (e.g. FamilyControls, ManagedSettings, DeviceActivity)