---
title: "Sign RSA"
method: POST
path: "/sign/rsa"
---

# Sign RSA

`POST /sign/rsa`

## Request

- Base URL: `https://client.apimetrics.io/api/2`
- URL: `https://client.apimetrics.io/api/2/sign/rsa`
- Auth: none required
- TypeScript: <https://skmtc.dev/apicontext/apis/api-settings/docs/sign/rsa/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- object
  - `alg` string, required: The signing algorithm to use, e.g. RS256
  - `key` string, required: The key to use for signing
  - `msg` string, required: The message to be encoded/signed

## Response `200`

200

- object
  - `alg` string
  - `signed` string

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/apicontext/apis/api-settings.md) - [All operations](https://skmtc.dev/apicontext/apis/api-settings/llms.txt) - [OpenAPI document](https://skmtc.dev/apicontext/apis/api-settings/revisions/2e9a62324e82?raw)
