Skip to main content

Devices API

POST /api/v1/devices​

Registers a device push token. When your workspace enforces identity verification, send the subscriber's X-Hober-Identity token; without it the registration returns 403 IDENTITY_VERIFICATION_REQUIRED.

Request Body​

{
"token": "fcm-or-apns-token",
"platform": "fcm",
"channelId": "default"
}

Response​

{ "id": "dev_xyz789", "token": "fcm-or-apns-token" }