---
title: "List api keys."
method: GET
path: "/api-keys"
tags: ["ApiKeys"]
---

# List api keys.

`GET /api-keys`

## Request

- Base URL: `https://api.enterprise.airtm.com/v2`
- URL: `https://api.enterprise.airtm.com/v2/api-keys`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/airtm/apis/airtm-enterprise-api-v2/docs/api-keys/get.ts> (a function with typed inputs; its response is checked against the schema)

Endpoint to list all api keys associated with your account.

## Query parameters

- `before` string
- `after` string
- `perPage` integer

## Response `200`

Ok

- PaginatedApiKey: Represents a paginated collection of items.
  - `items` ApiKey[], required: The items in the current page.
    - `deletedAt` string
    - `createdAt` string, required
    - `allowedIps` object[]
      - `label` string
      - `ip` string, required
    - `enterpriseId` string, required
    - `id` string, required
  - `startCursor` string: The cursor for the first item in the current page.
  - `endCursor` string: The cursor for the last item in the current page.

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/airtm/apis/airtm-enterprise-api-v2.md) - [All operations](https://skmtc.dev/airtm/apis/airtm-enterprise-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/airtm/apis/airtm-enterprise-api-v2/revisions/c9ed13d4c5c0?raw)
