---
title: "Get Current API Key"
method: GET
path: "/api-keys/current"
tags: ["API Keys"]
---

# Get Current API Key

`GET /api-keys/current`

## Request

- Base URL: `https://api.meow.com/v1`
- URL: `https://api.meow.com/v1/api-keys/current`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/meow/apis/meow-api/docs/api-keys/current/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns metadata about the API key used for the current request, including
its type and scopes.

## Response `200`

Successful Response

- CurrentApiKeyResponse: Metadata describing the API key used for the current request.
  - `id` string, required: The API key's opaque identifier.
  - `key_type` 'entity' | 'user', required
  - `scopes` ApiKeyScope[], required: The scopes granted to this key, in order.
  - `owner_entity` ApiKeyEntityInfo: Identifying information for the entity that owns an API key.
    - `entity_id` string, required: The entity's public identifier.
    - `entity_name` string, required: The entity's display name.
  - `owner_email` string, nullable: Email address of the user who owns this key, when applicable.
  - `restricted_banking_account` BankingAccountReference
    - `platform` 'treasury_prime' | 'crb' | 'bridge' | 'stripe' | 'atomic', required
    - `id` string, uuid, required: Meow's identifier for the account. Its shape depends on `platform`, so read the two together.

## Other responses

- `400`: The request could not be processed.
- `401`: Authentication failed.
- `403`: The API key is not authorized for this operation.
- `429`: Too many requests.

---

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