---
title: "Create SSH Key"
method: POST
path: "/ssh_keys"
tags: ["SSH Keys"]
---

# Create SSH Key

`POST /ssh_keys`

Allows you create SSH Keys. These keys can be used to access servers after deploy and reinstall actions.

## Request body

- object
  - `data` object, required
    - `type` 'ssh_keys', required
    - `attributes` object
      - `name` string, required — Name of the SSH Key
      - `project` string — Project ID or slug
      - `public_key` string, required — SSH Public Key

## Response `201`

Created

---

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