Skip to main content
GET
/
devices
/
locations
Get device locations
curl --request GET \
  --url https://dashboard.hologram.io/api/1/devices/locations \
  --header 'Authorization: Basic <encoded-value>'
{
  "success": true,
  "limit": 123,
  "size": 123,
  "continues": true,
  "lastid": 123,
  "data": [
    {
      "deviceid": 123,
      "name": "<string>",
      "latitude": 123,
      "longitude": 123,
      "range": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

HTTP Basic authentication using API keys. Set the username to apikey and the password to your API key. You can find your API key on the Hologram Dashboard under Account Settings.

Query Parameters

orgid
integer

Filter results to this organization ID

limit
integer

Maximum number of results to return (max 5000)

Required range: x <= 5000
Example:

50

startafter
integer

Return results after the record with this ID (cursor-based pagination)

ids
string

Comma-separated list of device IDs to filter by

Response

OK

success
boolean

Indicates whether the request was successful.

Example:

true

limit
integer
size
integer
continues
boolean
lastid
integer

ID of the last record returned, for cursor-based pagination

data
object[]