---
title: "Add Ssh Key"
method: POST
path: "/api/v1/user/keys/ssh"
---

# Add Ssh Key

`POST /api/v1/user/keys/ssh`

Add SSH public key

## Headers

- `authorization` string, nullable

## Cookies

- `modaic_session` string, nullable

## Request body

- AddSSHKeyRequest
  - `title` string, required
  - `key` string, required
  - `read_only` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

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