device-tokens
Get device tokens by user ID
Retrieve all device tokens for a specific user
get/device-tokens/user/{userId}
Path parameters
userIdstring required
Example:user123
User ID to filter by
Response
Device tokens retrieved 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.