---
title: "Add Gpg Key"
method: POST
path: "/api/v1/user/keys/gpg"
---

# Add Gpg Key

`POST /api/v1/user/keys/gpg`

Add GPG public key

## Headers

- `authorization` string, nullable

## Cookies

- `modaic_session` string, nullable

## Request body

- AddGPGKeyRequest
  - `armored_public_key` string, required

## 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/revisions/43a90513ac59/schema)
