---
title: "Identity and IP whitelist of the API key making this request"
method: GET
path: "/account/api-keys/self"
tags: ["Account"]
---

# Identity and IP whitelist of the API key making this request

`GET /account/api-keys/self`

## Request

- Base URL: `https://api.imprezahost.com/v1`
- URL: `https://api.imprezahost.com/v1/account/api-keys/self`
- Auth: API key in header `X-API-Key` and API key in header `X-API-Secret`

Returns metadata about the API key that authenticated this call. The
full `api_key` value is never returned — only the public `prefix`
(the first 12 chars). The `request_ip` is the IP that the server
observed for this call (useful when debugging why a different IP than
expected is being whitelisted).

Used by clients implementing `impreza key whoami`.

## Response `200`

Key identity

## Other responses

- `403`: IP not whitelisted or resource not owned
- `404`: Resource not found

---

[API](https://skmtc.dev/imprezahost/apis/impreza-host-public-api.md) · [All operations](https://skmtc.dev/imprezahost/apis/impreza-host-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/imprezahost/apis/impreza-host-public-api/revisions/db86511f604f?raw)
