---
title: "List API keys"
method: GET
path: "/api/v2/organizations/api-keys"
tags: ["Api-Keys"]
---

# List API keys

`GET /api/v2/organizations/api-keys`

## Request

- Base URL: `https://api.kiloiot.io`
- URL: `https://api.kiloiot.io/api/v2/organizations/api-keys`
- Auth: API key in header `X-API-Key` and API key in header `X-Organization-Id`

Retrieve all API keys for the current user in the organization.

**Required scope:** `api-keys:read`

## Query parameters

- `organizationId` string, required

## Response `200`

OK

- object[]
  - `createdAt` string
  - `expiresAt` string
  - `id` string
  - `lastUsedAt` string
  - `name` string
  - `prefix` string
  - `scopes` string[]
  - `status` string

## Other responses

- `401`: Missing or invalid API key
- `403`: Insufficient permissions (missing required scope)

---

[API](https://skmtc.dev/kiloiot/apis/kiloiot-public-api.md) · [All operations](https://skmtc.dev/kiloiot/apis/kiloiot-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kiloiot/apis/kiloiot-public-api/revisions/faf39bde186c?raw)
