TTWrite API: Save Notification Token
Endpoint URL
//ttwrite.4up.eu/mobile_api/save_pnotif_token
Description
This API allows users to register or update their notification token, enabling push notifications for updates, alerts, and messages.
Parameters
Field | Value | Remarks |
---|---|---|
user_id | integer | The unique identifier of the user. |
device_id | string | The unique identifier for the user’s device. |
notification_token | string | The notification token generated by the user’s device. |
Example Usage
POST //ttwrite.4up.eu/mobile_api/save_pnotif_token
Content-Type: application/json
{
"user_id": 12345,
"device_id": "device123",
"notification_token": "abcdef12345"
}
Notes
- Authentication is required to access this API.
- Ensure that the
notification_token
is valid and correctly formatted. - The saved token will be used for sending push notifications to the user’s device.
admin December 9, 2024 API for push notifications, device token API, notification token endpoint, notification token management, notification token registration, notification token saving, push alert setup API, push notifications API, register device token, save notification token, save pnotif token, TTWrite API, TTWrite mobile notifications, TTWrite notification endpoint, TTWrite notification functionality, TTWrite notification integration, TTWrite push notification setup, update notification token, user device token API, user notification token API, Social Media, TTWrite Comments Off on TTWrite API: Save Notification Token