POST
/api/im/remote/push/register
Register push token
Register an APNs or FCM device push token. The cloud uses stored tokens to deliver
push notifications (e.g. tool approval requests) to the mobile device when the
daemon requires user action. Token is upserted per (userId, platform, deviceId).
No code sample available for this language
Request Body
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| platform | string (apns | fcm) | Y | — | Push platform (apns for iOS, fcm for Android/web) |
| token | string | Y | — | Device push token from the OS |
| deviceId | string | N | — | Stable device identifier for token rotation |
Response Example
{
"ok": true
}