---
title: "Register"
method: POST
path: "/auth/register"
---

# Register

`POST /auth/register`

## Request

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

Creates the account, emails a confirmation link and signs the organizer in. They can build
their race straight away; publishing or listing it waits for the confirmed address.

## Request body

- OrganizerRegistration
  - `email` string, required
  - `password` string, required
  - `accept_terms` boolean
  - `marketing_opt_in` boolean

## Response `201`

Successful Response

- RegistrationResponse
  - `requires_2fa` boolean
  - `challenge` string, nullable
  - `method` string, nullable
  - `expires_in` integer, nullable
  - `is_admin` boolean
  - `is_demo` boolean
  - `email_verified` boolean
  - `access_token` string, required
  - `token_type` string
  - `email` string, required
  - `message` string, required

## Other responses

- `422`: Validation Error

---

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