Get single token

GET

Get single token available for a :token

Path parameters

user_idstringRequired

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

tokenstringRequired

The full token string.

Response

This endpoint returns an object.
provider_keyenum
Allowed values: firebase-fcmapnexpoonesignal
deviceobjectOptional

Information about the device the token is associated with.

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

statusenumOptional
Allowed values: activeunknownfailedrevoked
status_reasonstringOptional

The reason for the token status.

tokenstringOptional

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

trackingobjectOptional

Information about the device the token is associated with.