---
title: "Get SIM (device) names"
method: GET
path: "/devices/names"
tags: ["SIMs (Devices)"]
---

# Get SIM (device) names

`GET /devices/names`

## Request

- Base URL: `https://dashboard.hologram.io/api/1`
- URL: `https://dashboard.hologram.io/api/1/devices/names`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/hologram/apis/hologram-rest-api-v1/docs/devices/names/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve a mapping of device IDs to names for SIMs in the organization. Returns a paginated list with device IDs as keys and names as values.

## Query parameters

- `limit` integer
- `startafter` integer

## Response `200`

OK

- ListDeviceNamesResponse: A mapping of device IDs to device names.
  - `success` boolean: Indicates whether the request was successful.
  - `limit` integer
  - `size` integer
  - `continues` boolean
  - `lastid` integer: ID of the last record returned, for cursor-based pagination
  - `links` PaginationLinks
    - `path` string: The API endpoint path
    - `base` string: The API base URL
    - `next` string: URL to retrieve the next page of results
  - `data` object: Object where each key is a device ID and the value is the device name

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/hologram/apis/hologram-rest-api-v1.md) - [All operations](https://skmtc.dev/hologram/apis/hologram-rest-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/hologram/apis/hologram-rest-api-v1/revisions/1bc07dcd1631?raw)
