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

# Register

`POST /api/v1/auth/register`

## Request

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

Yangi foydalanuvchini email + parol bilan ro'yxatdan o'tkazadi.

## Request body

- RegisterRequest: Ro'yxatdan o'tish so'rovi.
  - `email` string, email, required
  - `password` string, required

## Response `201`

Successful Response

- TokenResponse: Token javob modeli — register, login, refresh va google login da qaytariladi.
  - `access_token` string, required
  - `refresh_token` string, required
  - `token_type` string

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/faroz/apis/edu-app-api.md) · [All operations](https://skmtc.dev/faroz/apis/edu-app-api/llms.txt) · [OpenAPI document](https://skmtc.dev/faroz/apis/edu-app-api/revisions/414a551ba773?raw)
