---
title: "Get Latest Tenant Api Key"
method: GET
path: "/api/admin/tenants/{tenant_id}/api-keys/latest"
tags: ["Admin"]
---

# Get Latest Tenant Api Key

`GET /api/admin/tenants/{tenant_id}/api-keys/latest`

## Path parameters

- `tenant_id` string, required

## Response `200`

Successful Response

- ApiKeyResponse — API Key response schema for authentication.
  - `id` string, required
  - `tenant_id` string, required
  - `name` string, required
  - `description` string, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `is_deleted` boolean

## Other responses

- `401` — Unauthorized: Invalid or missing admin key
- `404` — Not Found: Tenant not found or no active API keys exist
- `422` — Validation Error
- `500` — Internal Server Error: Unexpected server error

---

[API](https://skmtc.net/e-invoice-be/apis/e-invoice-be-peppol-access-point-api.md) · [All operations](https://skmtc.net/e-invoice-be/apis/e-invoice-be-peppol-access-point-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/e-invoice-be/e-invoice-be-peppol-access-point-api/revisions/a5b8396effe8/schema)
