---
title: "Get a public key"
method: GET
path: "/member/{memberId}/keys/{keyId}"
tags: ["Authentication keys"]
---

# Get a public key

`GET /member/{memberId}/keys/{keyId}`

The `GET /member/{memberId}/keys/{keyId}` endpoint retrieves the details of a specific public key, for the specified member.

## Path parameters

- `memberId` string, required
- `keyId` string, required

## Response `200`

Successful response

- GetKeyResponse — The details of the specified public key.
  - `key` GetKey[]
    - `id` string — The id of the public key that has been uploaded.
    - `keyAlgorithm` string — The security algorithm designed to protect the public key, <i>e.g.</i> ED25519, ECDSA_SHA256, RS256.
    - `publicKey` string — The public key of the key pair to be uploaded. This key verifies that the payload has been signed by the owner of the private key. <br/>For example: <ul><li><b>Base64 URL format</b>: _yDSz-_vUL92ezh5fJVhKpdbvwOKghDXQsaqDwGKi_A</li> <li><b>PEM format</b>: -----BEGIN PUBLIC KEY----- MCowBQYDK2VwAyEAGxDta2XXlr6Vxqk4kJq3+bLowoimRo+B52stoO7AWNg= -----END PUBLIC KEY-----</li></ul>
    - `expiresAtMs` string — The expiry date for the public key in epoch format (the number of milliseconds that have elapsed since January 1, 1970).

## Other responses

- `400` — The client specified an invalid argument
- `401` — The authorization information is missing or invalid
- `403` — Permission to access this endpoint is denied
- `404` — The requested entity, such as a sub-tpp, was not found
- `429` — Too many requests
- `500` — An unexpected or internal server error
- `501` — The operation was not implemented
- `503` — Service is unavailable
- `504` — Gateway has timed out

---

[API](https://skmtc.net/token/apis/token-io-s-open-banking-api-for-tpps.md) · [All operations](https://skmtc.net/token/apis/token-io-s-open-banking-api-for-tpps/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/token/token-io-s-open-banking-api-for-tpps/versions/5e8d6d2c24a1/schema)
