Use Aliases and Metadata


When integrating HERE Tracking into an external system, a tracker often has to be associated with an external ID in a way that is neither part of the reported state of the device or the desired state. For example, when attaching a tracker to a particular engine part or palette, assigning a human-readable name or synchronizing with an external asset management system.

These associations are known as 'Aliases'.

You can specify an alias type and an externalId to be stored alongside the device data. You can then retrieve a device record by referencing its alias.

Aliases are created by sending the type and externalId to HERE Tracking in the path of a PUT request:

curl -X PUT \

Once created, you can retrieve the details of a device using its alias type and externalId:

curl -X GET
  "trackingId": "HERE-dummyTrackingId"


It can also be useful to store more data about a device or a geofence that isn't directly related to the identity or telemetry of the device. The icon to be displayed on a web interface, for instance, or detailed notes about a particular geofence. For this, we can use the Metadata service.

To store metadata about a device, send an arbitrary JSON object:

curl -X PUT \{trackingId} \
  -H 'Authorization: Bearer {userToken}' \
  -H 'Content-Type: application/json' \
  -d '{
    "deviceIcon": "car-icon.png"

Metadata can be associated with geofences the same way but on a different path:

curl -X PUT \{geofenceId} \
  -H 'Authorization: Bearer {userToken}' \
  -H 'Content-Type: application/json' \
  -d '{
    "geofenceIcon": "office-icon.png"

results matching ""

    No results matching ""