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

# Register

`POST /api/auth/register`

Register a new user with email and password.

Creates an account and sends a verification email. The user must verify
their email before they can log in.

## Request body

- RegisterRequest
  - `email` string, required
  - `password` string, required
  - `name` string
  - `role` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

> 22 revisions in range; 2 could not be searched.

- **2026-06-08** `cbe3ad94235c` — 2 breaking, 4 warning
  - the `email` request property's minLength was increased from `0` to `5`
  - the `password` request property's minLength was increased from `0` to `8`
  - the `email` request property's maxLength was set to `128`
  - the `name` request property's maxLength was set to `64`
  - …2 more

[Change history](https://skmtc.dev/aabiro/apis/xcelsior/changes/api/auth/register/post.md)

---

[API](https://skmtc.dev/aabiro/apis/xcelsior.md) · [All operations](https://skmtc.dev/aabiro/apis/xcelsior/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/aabiro/xcelsior/revisions/32211b6f9d65/schema)
