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

# Get public keys

`GET /member/{memberId}/keys`

## Request

- Base URL: `https://api.token.io`
- URL: `https://api.token.io/member/{memberId}/keys`
- Auth: one of:
  - HTTP bearer
  - API key in header `Authorization`

The `GET /member/{memberId}/keys` endpoint retrieves a list of all public keys, for the specified member.

## Path parameters

- `memberId` string, required

## Response `200`

Successful response

- GetKeysResponse[]
  - `key` GetKey[]: Contains each public key that has been uploaded.
    - `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.dev/token/apis/token-io-s-open-banking-api-for-tpps.md) - [All operations](https://skmtc.dev/token/apis/token-io-s-open-banking-api-for-tpps/llms.txt) - [OpenAPI document](https://skmtc.dev/token/apis/token-io-s-open-banking-api-for-tpps/revisions/f705d3537678?raw)
