---
title: "Register"
method: POST
path: "/api/auth/register"
---

# Register

`POST /api/auth/register`

## Request

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

## Request body

- RegisterRequest
  - `email` string, email, required
  - `password` string, required
  - `acceptTerms` boolean, required
  - `locale` 'zh-CN' | 'zh-Hant' | 'en'
  - `visitorId` string, nullable
  - `sessionId` string, nullable
  - `freeChartRunId` string, nullable
  - `placement` string, 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)
