---
title: "List keys"
method: GET
path: "/keys"
tags: ["Keys"]
---

# List keys

`GET /keys`

## Request

- Base URL: `https://api.warplink.app/v1`
- URL: `https://api.warplink.app/v1/keys`
- Auth: HTTP bearer

## Response `200`

List of API keys

- object
  - `data` ApiKey[]
    - `id` string, uuid
    - `type` 'api' | 'sdk'
    - `key_prefix` string
    - `name` string
    - `app_id` string, uuid, nullable: The app an `sdk` key is tied to. Null for `api` keys and for `sdk` keys that work for any app.
    - `scopes` string[]
    - `last_used_at` string, date-time, nullable
    - `expires_at` string, date-time, nullable
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

---

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