---
title: "Register"
method: POST
path: "/api/auth/register"
tags: ["Auth"]
---

# Register

`POST /api/auth/register`

## Request

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

## Request body

- UserRegister
  - `email` string, required
  - `password` string, required
  - `name` string, required
  - `captcha_token` string, nullable
  - `device_fingerprint` string, nullable
  - `ref_code` string, nullable

## Response `200`

Successful Response

- UserResponse
  - `id` integer, required
  - `email` string, required
  - `name` string, required
  - `plan` string, required
  - `token` string, required
  - `requires_verification` boolean, nullable
  - `avatar_gender` string, nullable
  - `oauth_provider` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xfinlab/apis/xfinlab-api.md) · [All operations](https://skmtc.dev/xfinlab/apis/xfinlab-api/llms.txt) · [OpenAPI document](https://skmtc.dev/xfinlab/apis/xfinlab-api/revisions/205f85614bc6?raw)
