---
title: "Get a validation key by `keyId`"
method: GET
path: "/key_link/validation_keys/{keyId}"
tags: ["Key Link"]
---

# Get a validation key by \`keyId\`

`GET /key_link/validation_keys/{keyId}`

## Request

- Base URL: `https://api.fireblocks.io/v1`
- URL: `https://api.fireblocks.io/v1/key_link/validation_keys/{keyId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/fireblocks/apis/fireblocks-api/docs/key_link/validation_keys/:keyId/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a validation key if it exists, identified by the specified `keyId`.

## Path parameters

- `keyId` string, required

## Response `200`

The requested validation key data

- ValidationKeyDto
  - `keyId` string, required: External validation key id set by Fireblocks.
  - `publicKeyPem` string, required: PEM encoded public key used for the validation.
  - `daysTillExpired` number, required
  - `enabled` boolean, required: True if the validation key is enabled.
  - `createdAt` number, required: Creation date (timestamp) in milliseconds.
  - `expirationTime` number, required: Expiration date (Unix timestamp) in milliseconds.
  - `revoked` boolean, required: True if the validation key is revoked.

## Other responses

- `default`: Error Response

---

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