Skip to main content
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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

childID
string<uuid>
required

Body

application/json
device_name
string
required

User-assigned device name (e.g. "Ada's iPhone").

device_model
string
required

Hardware model identifier (e.g. iPhone15,3).

os_version
string
required

Operating-system version reported by the device (e.g. 18.5).

app_version
string
required

Version of the Phosra app installed on the device.

apns_token
string

Apple Push Notification service device token; null until the device registers for push.

capabilities
string[]

Apple frameworks the device supports (e.g. FamilyControls, ManagedSettings, DeviceActivity)

Response

Device registered

device
object
api_key
string

One-time device API key (store in Keychain)