---
title: "Fetch one API key. Another account's key is 404 key_not_found."
method: GET
path: "/api/v1/keys/{id}"
tags: ["Auth"]
---

# Fetch one API key. Another account's key is 404 key_not_found.

`GET /api/v1/keys/{id}`

## Request

- Base URL: `https://cooperemail.com`
- URL: `https://cooperemail.com/api/v1/keys/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Response `200`

API key

- ApiKey
  - `id` string, required
  - `name` string, required
  - `prefix` string, required
  - `inbox_id` string, nullable, required
  - `permissions` string[], nullable, required: Null means full access. draft_write creates, edits, and deletes drafts and does not send. draft_send sends a draft and does not create, edit, or delete drafts.
  - `created_at` string, date-time, required
  - `last_used_at` string, date-time, nullable
  - `expires_at` string, date-time, nullable
  - `revoked_at` string, date-time, nullable

---

[API](https://skmtc.dev/cooperemail/apis/cooper-email-api.md) · [All operations](https://skmtc.dev/cooperemail/apis/cooper-email-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cooperemail/apis/cooper-email-api/revisions/6d800a7b3e33?raw)
