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

# POST /auth/registration/

`POST /auth/registration/`

## Request

- Base URL: `http://api.footballchallengeapp.com`
- URL: `http://api.footballchallengeapp.com/auth/registration/`
- Auth: HTTP basic

At this moment, it is exclusively done to add a value user_id to the POST response.
This value is used by the front to send logs.

## Request body

- CustomRegister
  - `username` string
  - `email` string, email, required
  - `password1` string, required
  - `password2` string, required
  - `first_name` string, required
  - `last_name` string, required
  - `is_fan` boolean
  - `is_trainer` boolean
  - `is_player` boolean
  - `is_scout` boolean
  - `phone` string
  - `birthdate` string, date
  - `birth_year` integer
  - `referral_code_from` string
  - `language` integer
  - `auto_update_lang` boolean
  - `agreed_to_marketing` boolean
  - `agreed_to_rodo` boolean

## Response `201`

Created

- CustomRegister
  - `username` string
  - `email` string, email, required
  - `password1` string, required
  - `password2` string, required
  - `first_name` string, required
  - `last_name` string, required
  - `is_fan` boolean
  - `is_trainer` boolean
  - `is_player` boolean
  - `is_scout` boolean
  - `phone` string
  - `birthdate` string, date
  - `birth_year` integer
  - `referral_code_from` string
  - `language` integer
  - `auto_update_lang` boolean
  - `agreed_to_marketing` boolean
  - `agreed_to_rodo` boolean

---

[API](https://skmtc.dev/footballchallengeapp/apis/fcapp-ver-2-api.md) - [All operations](https://skmtc.dev/footballchallengeapp/apis/fcapp-ver-2-api/llms.txt) - [OpenAPI document](https://skmtc.dev/footballchallengeapp/apis/fcapp-ver-2-api/revisions/80c7593b6107?raw)
