---
title: "Retrieve Key"
method: GET
path: "/v1/clients/{ClientID}/keys/{KeyID}"
tags: ["Key"]
---

# Retrieve Key

`GET /v1/clients/{ClientID}/keys/{KeyID}`

Retrieves the Key.

## Path parameters

- `ClientID` string, required
- `KeyID` string, required

## Query parameters

- `Format` string

## Response `200`

The Key is returned.

- RetrieveKeyResponse
  - `SC` integer — [HTTP Status Code](https://developers.tabapay.com/reference/http-status-codes#/)
  - `EC` string — Internal Error Code. This is used to help TabaPay team members trace an error.
  - `EM` string — Short description of the error if an error occurred.
  - `key` string — ASN.1 key, encoded in Base64 URL-Safe Character Set *Only present if `format` is `ASN.1`*
  - `keyModulus` string — Raw Key Modulus. Encoded in Base64 URL-Safe Character Set *Only present if `format` is `Raw`*
  - `keyExponent` string — Raw Key Public Exponent. Encoded in Base64 URL-Safe Character Set *Only present if `format` is `Raw`*
  - `expiration` string — Key Expiration in yyyy-MM-ddTHH:mm:ssZ Format.

---

[API](https://skmtc.net/tabapay/apis/tabapay-apis.md) · [All operations](https://skmtc.net/tabapay/apis/tabapay-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tabapay/tabapay-apis/versions/154fa3d585cf/schema)
