---
title: "Create a signing key"
method: POST
path: "/system/v1/signing-keys"
tags: ["Signing Keys"]
---

# Create a signing key

`POST /system/v1/signing-keys`

Creates a new signing key pair. When creating a new signing key, the API will generate a 2048-bit RSA key-pair and return the private key and a generated key-id; the public key will be stored at Mux to validate signed tokens.

## Response `201`

Created

- SigningKeyResponse
  - `data` SigningKey, required
    - `id` string, required — Unique identifier for the Signing Key.
    - `created_at` string, int64, required — Time at which the object was created. Measured in seconds since the Unix epoch.
    - `private_key` string, byte — A Base64 encoded private key that can be used with the RS256 algorithm when creating a [JWT](https://jwt.io/). **Note that this value is only returned once when creating a URL signing key.**

---

[API](https://skmtc.net/muxinc/apis/mux-api.md) · [All operations](https://skmtc.net/muxinc/apis/mux-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/muxinc/mux-api/revisions/34a65dce0f31/schema)
