POSThttps://omni-apis.montymobile.com/notification/api/v1/Subscriber/register
Register device
Register a device and its push token (FCM, APNs, or HMS) so it can receive notifications.
Headers
In addition to api-key and Tenant, this endpoint requires X-Access-Token and LanguageCode.
Request body
| Parameter | Type | Required | Description |
|---|---|---|---|
deviceId | String | Yes | Unique device identifier. |
fcmToken | String | Conditional | Android / FCM token. |
apnsToken | String | Conditional | iOS / APNs token. |
huaweiToken | String | Conditional | Huawei / HMS token. |
platformTag | String | Yes | e.g. MOBILE_ANDROID. |
osTag | String | Yes | e.g. ANDROID. |
userGuid | String (UUID) | Yes | App user ID. |
appGuid | String (UUID) | Yes | Application ID. |
Version | String | Yes | App/SDK version, e.g. 2.8. |
deviceInfo | Object | No | { deviceName, longitude, latitude, mnc, mcc }. |
Responses
The success/error bodies, the full platformTag / osTag enumerations, and how the X-Access-Token is obtained are being finalized. Coming soon