---
title: "Get a Key"
method: GET
path: "/v2/identities/{identifier}/keys/{id}"
tags: ["Key Management"]
---

# Get a Key

`GET /v2/identities/{identifier}/keys/{id}`

## Request

- The document declares no server URL.
- Auth: HTTP basic

Get a specific key for the provided identity.

## Path parameters

- `identifier` string, required
- `id` string, required

## Response `200`

Key found

- Key
  - `id` string, required: base64 encoded keyID
  - `keyType` 'babyjubJub' | 'secp256k1' | 'ed25519', required
  - `publicKey` string, required
  - `isAuthCredential` boolean, required
  - `name` string, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not found
- `500`: Internal Server error

## Changes

- **2025-08-15** `c70318948581`: 1 warning
  - added the new `ed25519` enum value to the `keyType` response property for the response status `200`
- **2024-12-24** `0b68c34df384`: 1 info
  - endpoint added
- **2024-12-24** `d705ece785fa`: 1 breaking
  - api path removed without deprecation
- **2024-12-19** `f3319728dd7c`: 1 info
  - endpoint added
- **2024-12-17** `96ff718e8ae9`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/0xpolygonid/apis/privado-id-issuer/changes/v2/identities/:identifier/keys/:id/get.md)

---

[API](https://skmtc.dev/0xpolygonid/apis/privado-id-issuer.md) - [All operations](https://skmtc.dev/0xpolygonid/apis/privado-id-issuer/llms.txt) - [OpenAPI document](https://skmtc.dev/0xpolygonid/apis/privado-id-issuer/revisions/8ea65174fe46?raw)
