---
title: "Returns the public SSH key of the authorized user"
method: GET
path: "/user/keys/{id}"
tags: ["User API"]
---

# Returns the public SSH key of the authorized user

`GET /user/keys/{id}`

## Path parameters

- `id` integer, required

## Response `200`

- PublicSSHKeyView
  - `url` string — API endpoint to GET this object
  - `html_url` string — Web URL to view this object in Buddy.works
  - `id` integer — The ID of the SSH key
  - `title` string — The title/name of the SSH key
  - `content` string — The SSH public key content

---

[API](https://skmtc.net/buddy/apis/buddy-api.md) · [All operations](https://skmtc.net/buddy/apis/buddy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/buddy/buddy-api/revisions/2426d67c249a/schema)
