---
title: "Reveal current user's API key"
method: POST
path: "/user/me/api-keys/{id}/reveal"
tags: ["User"]
---

# Reveal current user's API key

`POST /user/me/api-keys/{id}/reveal`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/user/me/api-keys/{id}/reveal`
- Auth: none declared. Required headers: `Authorization`

Returns the raw value for a selected active or unexpired grace API key owned by the JWT-authenticated user when raw key material is available.

## Path parameters

- `id` string, required

## Headers

- `Authorization` string, required

## Response `200`

Raw API key

- UserUserRevealAPIKeyResponseDoc
  - `code` integer
  - `data` UserUserRevealAPIKeyDoc
    - `api_key` string
    - `key` UserUserAPIKeyItemDoc
      - `created_at` string
      - `expires_at` string
      - `id` string
      - `key_prefix` string
      - `key_suffix` string
      - `last_used_at` string
      - `last_used_ip` string
      - `masked_key` string
      - `rotated_at` string
      - `source` string
      - `status` string
      - `updated_at` string
  - `msg` string

## Other responses

- `401`: Authentication required
- `404`: API key not found or raw value unavailable
- `500`: Internal server error

---

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