Skip to main content
GET
/
devices
/
names
Get device names
curl --request GET \
  --url https://dashboard.hologram.io/api/1/devices/names \
  --header 'Authorization: Basic <encoded-value>'
{
  "success": true,
  "data": {
    "12345": "Device Alpha",
    "67890": "Device Beta"
  }
}

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

limit
integer

Maximum number of results to return (max 2000)

Required range: x <= 2000
Example:

2000

startafter
integer

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

Response

OK

A mapping of device IDs to device names.

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

Object where each key is a device ID and the value is the device name