---
title: "Get"
method: GET
path: "/api_keys/{id}"
tags: ["APIKeys"]
---

# Get

`GET /api_keys/{id}`

Get the details of an API key by ID.

## Path parameters

- `id` string, required

## Headers

- `ngrok-version` integer, required

## Response `200`

Get the details of an API key by ID.

- APIKey
  - `id` string — unique API key resource identifier
  - `uri` string — URI to the API resource of this API key
  - `description` string — human-readable description of what uses the API key to authenticate. optional, max 255 bytes.
  - `metadata` string — arbitrary user-defined data of this API key. optional, max 4096 bytes
  - `created_at` string — timestamp when the api key was created, RFC 3339 format
  - `token` string — the bearer token that can be placed into the Authorization header to authenticate request to the ngrok API. **This value is only available one time, on the API response from key creation. Otherwise it is null.**
  - `owner_id` string — If supplied at credential creation, ownership will be assigned to the specified User or Bot. Only admins may specify an owner other than themselves. Defaults to the authenticated User or Bot.

---

[API](https://skmtc.net/ngrok/apis/ngrok-openapi.md) · [All operations](https://skmtc.net/ngrok/apis/ngrok-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ngrok/ngrok-openapi/versions/1994bbb04714/schema)
