---
title: "Get public keys for the authenticated user."
method: GET
path: "/cmx/user/public-keys"
tags: ["cmx"]
---

# Get public keys for the authenticated user.

`GET /cmx/user/public-keys`

## Request

- Base URL: `https://api.replicated.com/vendor/v3`
- URL: `https://api.replicated.com/vendor/v3/cmx/user/public-keys`
- Auth: API key in header `Authorization`

Returns all SSH public keys associated with the authenticated user in their team.

## Response `200`

GetUserPublicKeysResponse contains the response for getting user public keys.

- object
  - `error` string
  - `public_keys` UserPublicKeyResponse[]
    - `fingerprint` string
    - `is_synced` boolean
    - `public_key` string
    - `user_id` string

## Other responses

- `400`: Returned on bad input
- `401`: Return if the caller is not authorized

## Changes

- **2026-11-03** `a36c6aead22f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/replicated/apis/vendor-api-v3-2/changes/cmx/user/public-keys/get.md)

---

[API](https://skmtc.dev/replicated/apis/vendor-api-v3-2.md) - [All operations](https://skmtc.dev/replicated/apis/vendor-api-v3-2/llms.txt) - [OpenAPI document](https://skmtc.dev/replicated/apis/vendor-api-v3-2/revisions/a36c6aead22f?raw)
