---
title: "Get a Grepr API Key"
method: GET
path: "/v1/apikey"
tags: ["Grepr API Key"]
---

# Get a Grepr API Key

`GET /v1/apikey`

## Request

- Base URL: `https://docs.grepr.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.grepr.ai/v1/apikey`
- Auth: API key in header `GREPR-API-KEY`

## Response `200`

API key retrieved successfully

- GreprApiKey
  - `apiKey` string, required

## Other responses

- `401`: API key is invalid

---

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