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

# POST /api/auth/register/

`POST /api/auth/register/`

## Request body

- RegisterSchema
  - `username` string, required
  - `password` string
  - `consent` boolean, required
  - `email` string, email
  - `fingerprint` string
  - `invite` string
  - `date_of_birth` string
  - `gift_code_sku_id` string
  - `captcha_key` string
  - `promotional_email_opt_in` boolean
  - `unique_username_registration` boolean
  - `global_name` string

## Response `200`

- TokenOnlyResponse
  - `token` string, required

## Other responses

- `400`

---

[API](https://skmtc.net/spacebarchat/apis/spacebar-server.md) · [All operations](https://skmtc.net/spacebarchat/apis/spacebar-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spacebarchat/spacebar-server/versions/5b4adb561b25/schema)
