Get all tokens

GET

Gets all tokens available for a :user_id

Path parameters

user_idstringRequired

The user’s ID. This can be any uniquely identifiable string.

Response

This endpoint returns a list of objects.
provider_keyenum
Allowed values: firebase-fcmapnexpoonesignal
tokenstringOptional

Full body of the token. Must match token in URL.

expiry_datestring or booleanOptional

ISO 8601 formatted date the token expires. Defaults to 2 months. Set to false to disable expiration.

propertiesanyOptional

Properties sent to the provider along with the token

deviceobjectOptional

Information about the device the token is associated with.

trackingobjectOptional

Information about the device the token is associated with.