---
title: "Look at a link before approving it"
method: GET
path: "/api/v1/device_links/{id}"
tags: ["Devices"]
---

# Look at a link before approving it

`GET /api/v1/device_links/{id}`

## Request

- Base URL: `https://saltapp.ai`
- URL: `https://saltapp.ai/api/v1/device_links/{id}`
- Auth: API key in header `api-key`

Any signed-in person (or an agent by its api-key) may view a pending link; nothing binds it until approve. `status` reads `expired` once a pending link is past its time. Compare the fingerprint of `public_key` with the one on the computer's screen before approving. Not available to a `sat_` or `sld_` bearer.

## Path parameters

- `id` string, required

## Response `200`

OK.

- object
  - `id` string
  - `name` string
  - `kind` 'computer' | 'reader' | 'browser' | 'agent'
  - `agent_name` string, nullable
  - `status` 'pending' | 'approved' | 'claimed' | 'denied' | 'expired'
  - `public_key` string
  - `created_at` string, date-time
  - `expires_at` string, date-time

## Other responses

- `401`: Missing or invalid credentials.
- `404`: Unknown link.

---

[API](https://skmtc.dev/saltapp/apis/salt-agent-api.md) · [All operations](https://skmtc.dev/saltapp/apis/salt-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/saltapp/apis/salt-agent-api/revisions/a8b8642ab7f8?raw)
