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

# Register user

`POST /api/auth/register`

## Request body

- RegisterRequest
  - `fullName` string, required
  - `email` string, email, required
  - `password` string, required — Upper, lower, digit
  - `role` 'ADMIN' | 'PROJECT_MANAGER' | 'INSPECTOR' | 'SUPPLIER' | 'VIEWER', required

## Response `201`

Created

- object

## Other responses

- `400` — Bad request / validation error
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found

---

[API](https://skmtc.net/aplanka/apis/sustainable-construction-management-api.md) · [All operations](https://skmtc.net/aplanka/apis/sustainable-construction-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aplanka/sustainable-construction-management-api/versions/cb0775348c3b/schema)
