---
title: "Register a new user account"
method: POST
path: "/auth/register"
tags: ["auth"]
---

# Register a new user account

`POST /auth/register`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/auth/register`
- Auth: none required

## Request body

- object
  - `email` string, email, required
  - `password` string, required
  - `displayName` string, required

## Response `201`

Account created — email verification sent

- object
  - `user` AuthUser
    - `id` integer, required
    - `displayName` string, required
    - `email` string, nullable
    - `avatarUrl` string, nullable
    - `roles` string[], required
  - `message` string

## Other responses

- `400`: Bad Request
- `409`: Conflict

## Changes

- **2026-04-18** `518dcf68679a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/changes/auth/register/post.md)

---

[API](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api.md) - [All operations](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/llms.txt) - [OpenAPI document](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/revisions/6ad730b13e59?raw)
