---
title: "GET /api/device-codes/{userCode}"
method: GET
path: "/api/device-codes/{userCode}"
tags: ["device-codes"]
---

# GET /api/device-codes/{userCode}

`GET /api/device-codes/{userCode}`

## Request

- The document declares no server URL.
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/fermyon/apis/fermyon-cloud-api/docs/api/device-codes/:userCode/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `userCode` string, required

## Headers

- `Api-Version` string

## Response `200`

Success

- DeviceCodeDetails
  - `clientName` string

## Changes

- **2023-03-10** `4650ad92794e`: 1 info
  - added the new optional `header` request parameter `Api-Version`

[Operation history](https://skmtc.dev/fermyon/apis/fermyon-cloud-api/changes/api/device-codes/:userCode/get.md)

---

[API](https://skmtc.dev/fermyon/apis/fermyon-cloud-api.md) - [All operations](https://skmtc.dev/fermyon/apis/fermyon-cloud-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fermyon/apis/fermyon-cloud-api/revisions/78d366daf86a?raw)
