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

# Api Auth Register

`POST /api/auth/register`

Register a new user with email and password.

Creates an account and returns a session token for immediate use.
Password is hashed with PBKDF2-HMAC-SHA256 + random 16-byte salt.

## Request body

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

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[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/526c3dd3d9d7/schema)
