---
title: "Issue"
method: POST
path: "/api/admin/products/keys"
---

# Issue

`POST /api/admin/products/keys`

## Request

- Base URL: `https://yuanzizhiyi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://yuanzizhiyi.com/api/admin/products/keys`
- Auth: none declared

## Cookies

- `admin_session` string, nullable

## Request body

- Issue
  - `productId` 'energy-weekly' | 'career-breakthrough', required
  - `count` integer
  - `plan` 'month' | 'year', nullable
  - `uses` integer, nullable
  - `validityDays` integer, nullable
  - `redeemBefore` string, date-time, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/yuanzizhiyi/apis/yuanzi-zhiyi.md) · [All operations](https://skmtc.dev/yuanzizhiyi/apis/yuanzi-zhiyi/llms.txt) · [OpenAPI document](https://skmtc.dev/yuanzizhiyi/apis/yuanzi-zhiyi/revisions/d063fae7ac16?raw)
