Last Registration Device Information

There are two ways to find information about when a device last registered; via the Urban Airship Dashboard or via the Urban Airship API.

Last Registration in the Urban Airship Dashboard:

You can find the Last Registration information for a device by looking up a Channel ID, Named User ID, or Device Token by navigating to  Audience > Device Lookup and entering the device identifier into the search bar:

Searchbar.png

 

If a device matched the ID, you should see a display with information:

ug-device-lookup.png

 

Last Registration via the API:

You can also find the Last Registration via the Device Information API endpoints. For example, a Device Token Lookup will return something like this:

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8

{
   "device_token": "FE66489F304DC75B8D6E8200DFF8A456E8DAEACEC428B427E9518741C92C6660",
   "active": true,
   "alias": "your_user_id",
   "tags": [
      "tag1",
      "tag2"
   ],
   "created": "2013-08-08 20:41:06",
   "last_registration": "2014-05-01 18:00:27",
   "badge": 2,
   "quiettime": {
      "start": "22:00",
      "end": "8:00"
   },
   "tz": "America/Los_Angeles"
}

 

Previously, the last_registration field only cached data for a limited period of time. 

The Last Registration field is now populated if the device has registered since approximately April 10th, 2014.

 

Related Content: