device-tokens

Get all device tokens

Retrieve all registered device tokens

get/device-tokens

Response

Device tokens retrieved successfully

device_token_idnumber required

Device token ID

user_idstring required

Member ID

member_acc_idstring

External account ID

phone_number_idstring

Phone number identifier

device_tokenstring required

Firebase device token

device_type'iOS' | 'android' | 'web' | 'unknown' required

Device type

app_versionstring

App version

os_versionstring

OS version

is_activeboolean required

Enable notifications

created_atstring date-time required

Creation timestamp

updated_atstring date-time required

Last update timestamp

last_used_atstring date-time

Last used timestamp

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.