---
title: "Reads and updates UserModel fields Accepts GET, PUT, PATCH methods."
method: GET
path: "/auth/user/"
tags: ["auth"]
---

# Reads and updates UserModel fields Accepts GET, PUT, PATCH methods.

`GET /auth/user/`

## Request

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

Default accepted fields: username, first_name, last_name
Default display fields: pk, username, email, first_name, last_name
Read-only fields: pk, email

Returns UserModel fields.

## Response `200`

OK

- CustomUserDetails
  - `pk` integer
  - `username` string, nullable
  - `email` string, email
  - `first_name` string
  - `last_name` string
  - `is_trainer` boolean
  - `is_player` boolean
  - `is_fan` boolean
  - `is_investor` boolean
  - `is_scout` boolean
  - `avatar` string
  - `phone` string, nullable
  - `birthdate` string, date, nullable
  - `is_social` boolean
  - `location` string, required
  - `language` 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80
  - `auto_update_lang` boolean
  - `address` string, nullable
  - `subscription_type` 10 | 15 | 20 | 30 | 40 | 50
  - `one_signal_updated` boolean
  - `saw_trainer_onboarding` boolean
  - `saw_player_onboarding` boolean
  - `saw_fan_onboarding` boolean
  - `saw_scout_onboarding` boolean
  - `proteges` User[], required
    - `pk` integer
    - `first_name` string
    - `last_name` string
    - `avatar` string
    - `is_trainer` boolean
    - `is_player` boolean
    - `is_fan` boolean
    - `is_investor` boolean
    - `is_scout` boolean
    - `address` string, nullable
    - `subscription_type` 10 | 15 | 20 | 30 | 40 | 50
    - `agreed_to_rodo` boolean, nullable
    - `birthdate` string, date, nullable
    - `birth_year` integer, nullable

---

[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/c8564e63cfb0?raw)
