---
title: "Exchange auth code for API key"
method: GET
path: "/v1/auth-codes/verify/{code}"
tags: ["API Keys"]
---

# Exchange auth code for API key

`GET /v1/auth-codes/verify/{code}`

Exchange a temporary authentication code for an API key

## Path parameters

- `code` string, required

## Response `200`

Default Response

- object
  - `id` string
  - `key` string
  - `name` string
  - `organization_id` string
  - `created_at` string
  - `expires_at` string, nullable
  - `enabled` boolean
  - `scopes` string[]
  - `verified` boolean

## Other responses

- `400` — Default Response
- `404` — Default Response
- `500` — Default Response

---

[API](https://skmtc.net/printhiv3d/apis/hive-api-documentation.md) · [All operations](https://skmtc.net/printhiv3d/apis/hive-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/printhiv3d/hive-api-documentation/versions/3b06bcb5f808/schema)
