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

# Register

`POST /auth/register`

## Request

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

## Request body

- UserRegister
  - `name` string, required
  - `email` string, required
  - `password` string, required
  - `lang` string

## Response `201`

Successful Response

- TokenResponse
  - `access_token` string, required
  - `token_type` string
  - `user_id` string, required
  - `org_id` string, required
  - `name` string, required
  - `email` string, nullable
  - `plan` string
  - `role` string
  - `is_admin` boolean
  - `kdf_salt` string, nullable
  - `needs_reencryption` boolean
  - `enc_secret` string, nullable
  - `enc_salt` string, nullable

## Other responses

- `422`: Validation Error

---

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