---
title: "POST /my/sshkeys/"
method: POST
path: "/v1/my/sshkeys/"
---

# POST /my/sshkeys/

`POST /v1/my/sshkeys/`

Allows a user to add an SSH public key to their own account

## Request body

- object
  - `mfa_code` string, required — Your Foxpass MFA code found on the 'My Settings' page
  - `name` string, required — Name for the key
  - `key` string, required — SSH public key, like "ssh-rsa AAAAAA....."
  - `key_type` string — The SSH key type for Foxpass

## Response `200`

200

## Other responses

- `400` — 400

---

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