device-tokens
Create a new device token
Register a new device token for push notifications
post/device-tokens
Request body
Example request
{
"device_token": "fcm_token_here_very_long_string_from_firebase",
"device_type": "android",
"app_version": "1.0.0",
"os_version": "Android 13",
"is_active": true
}Response
Device token created successfully
Example response
{
"device_token_id": 1,
"user_id": "user123",
"member_acc_id": "ACC123456",
"phone_number_id": "PHONE789",
"device_token": "fcm_token_here_very_long_string_from_firebase",
"device_type": "android",
"app_version": "1.0.0",
"os_version": "Android 13",
"is_active": true,
"created_at": "2024-01-01T10:00:00.000Z",
"updated_at": "2024-01-01T10:00:00.000Z",
"last_used_at": "2024-01-01T10:00:00.000Z"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.