---
title: "Create Jwt Key Mapping"
method: POST
path: "/jwt/key/mapping/new"
tags: ["jwt_mappings"]
---

# Create Jwt Key Mapping

`POST /jwt/key/mapping/new`

## Request body

- CreateJWTKeyMappingRequest
  - `description` string, nullable
  - `jwt_claim_name` string, required
  - `jwt_claim_value` string, required
  - `key` string, required

## Response `200`

Successful Response

- JWTKeyMappingResponse
  - `created_at` string, date-time, required
  - `created_by` string, nullable
  - `description` string, nullable
  - `id` string, required
  - `is_active` boolean, required
  - `jwt_claim_name` string, required
  - `jwt_claim_value` string, required
  - `updated_at` string, date-time, required
  - `updated_by` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/flock/apis/litellm-api.md) · [All operations](https://skmtc.net/flock/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/flock/litellm-api/revisions/8fbaab4fc7c5/schema)
