---
title: "Register"
method: POST
path: "/api/user/register"
tags: ["User"]
---

# Register

`POST /api/user/register`

## Request

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

## Query parameters

- `turnstile` string

## Request body

- RegisterRequest: RegisterRequest schema
  - `aff_code` string
  - `customer_type` 'consumer' | 'business'
  - `email` string
  - `password` string, required
  - `terms_locale` string
  - `terms_text` string
  - `terms_version` string
  - `username` string, required
  - `verification_code` string

## Response `200`

OK

- MessageResponse
  - `message` string, required
  - `success` boolean, required

## Changes

- **2026-10-20** `6d0299fb6d6c`: 3 info
  - added the new optional request property `terms_locale`
  - added the new optional request property `terms_text`
  - added the new optional request property `terms_version`
- **2026-10-15** `6cb670e861f5`: 1 info
  - added the new optional request property `customer_type`

[Operation history](https://skmtc.dev/unorouter/apis/new-api/changes/api/user/register/post.md)

---

[API](https://skmtc.dev/unorouter/apis/new-api.md) - [All operations](https://skmtc.dev/unorouter/apis/new-api/llms.txt) - [OpenAPI document](https://skmtc.dev/unorouter/apis/new-api/revisions/1b50ada14f59?raw)
