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).
当前语言暂无代码示例
请求体
| 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 |
响应示例
{
"ok": true
}