---
title: "Get API key"
method: GET
path: "/api-key/{id}"
tags: ["api-key"]
---

# Get API key

`GET /api-key/{id}`

## Request

- Base URL: `https://api-ch-gva-2.exoscale.com/v2`
- URL: `https://api-ch-gva-2.exoscale.com/v2/api-key/{id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/exoscale/apis/exoscale-api/docs/api-key/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, required

## Response `200`

200

- IamApiKey: IAM API Key
  - `name` string: IAM API Key name
  - `key` string: IAM API Key
  - `role-id` string, uuid: IAM API Key Role ID

---

[API](https://skmtc.dev/exoscale/apis/exoscale-api.md) - [All operations](https://skmtc.dev/exoscale/apis/exoscale-api/llms.txt) - [OpenAPI document](https://skmtc.dev/exoscale/apis/exoscale-api/revisions/63da6f74c845?raw)
