Device Tokens

Get single token

Returns one device token with its provider key, status and status reason, expiry date, and any properties stored alongside it.

get/users/{user_id}/tokens/{token}

Path parameters

user_idstring required

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

tokenstring required

The full token string.

Response

tokenstring required

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

provider_key'firebase-fcm' | 'apn' | 'expo' | 'onesignal' required
{"stackTrail":"components:schemas:UsersUserToken:properties:properties","oasType":"schema","type":"unknown","description":"Properties about the token.","nullable":true}

Changes

Changed in 3 of the 55 revisions of this API.5

    • the response property allOf[subschema #1: UsersUserToken]/token became required for the status 200

      response-property-became-required

    • api tag Device Tokens added

      api-tag-added

    • api tag UsersTokens removed

      api-tag-removed

    • added UsersUserToken to the response body allOf list for the response status 200

      response-body-all-of-added

    • removed usersUserToken from the response body allOf list for the response status 200

      response-body-all-of-removed

    This revision also has 21 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog