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

# Register

`POST /api/auth/register`

## Request

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

A new account from an address and a password: `sent` for every address
(module docstring). 422 `invalid-email` or `invalid-password` only for
what was typed, never for what the address has. A new address is signed
in beside the `sent` (the cookies on this answer; the dialog then asks
`/account/me`); a taken one is not, and its owner gets the reset email.

## Response `200`

Successful Response

- StatusOut: One word: the email routes say `sent` whatever the address's state.
  - `status` 'ok' | 'sent' | 'expired' | 'invalid' | 'taken', required

---

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