---
title: "Get list of registered validation keys"
method: GET
path: "/key_link/validation_keys"
tags: ["Key Link"]
---

# Get list of registered validation keys

`GET /key_link/validation_keys`

## Request

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

Returns the list of validation keys in the workspace. By default, revoked keys are filtered out. Use `includeRevoked=true` to show all keys.

## Query parameters

- `pageCursor` string
- `pageSize` number
- `sortBy` 'createdAt'
- `order` 'ASC' | 'DESC'
- `includeRevoked` boolean

## Response `200`

Validation keys list along with data required to request the next page if applicable

- GetValidationKeyResponseDto
  - `data` ValidationKeyDto[], required: Response object for getting external validation keys.
    - `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.
  - `next` string: The ID of the next page

## 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)
