GET
/
users
/
{user_id}
/
tokens
curl --request GET \
  --url https://api.courier.com/users/{user_id}/tokens \
  --header 'Authorization: Bearer <token>'
[
  {
    "token": "<string>",
    "provider_key": "firebase-fcm",
    "expiry_date": "<string>",
    "properties": "<any>",
    "device": {
      "app_id": "<string>",
      "ad_id": "<string>",
      "device_id": "<string>",
      "platform": "<string>",
      "manufacturer": "<string>",
      "model": "<string>"
    },
    "tracking": {
      "os_version": "<string>",
      "ip": "<string>",
      "lat": "<string>",
      "long": "<string>"
    }
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

user_id
string
required

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

Response

200
application/json

A list of tokens registered with the user.