Skip to main content
POST
Register a device for push

Authorizations

Authorization
string
header
required

Personal Access Token. Send as Authorization: Bearer hq_pat_....

Body

application/json
token
string
required

APNs device token, lowercase hex (as handed to the app by the OS).

bundle_id
string | null

The app's bundle id == the APNs topic, e.g. "io.tic.HQ".

environment
string

"production" (default) or "sandbox" (debug builds on the APNs sandbox).

platform
string

"ios" today; reserved for "android" (FCM) later.

Response

200 - application/json

Registered

ok
boolean
required