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

# Register

`POST /api/auth/register`

## Request

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

## Request body

- RegisterRequest
  - `email` string, nullable
  - `phone` string, nullable
  - `password` string, required
  - `full_name` string, nullable
  - `phone_otp` string, nullable

## Response `200`

Successful Response

- AuthResponse
  - `access_token` string, required
  - `token_type` string
  - `user` MeResponse, required
    - `id` integer, required
    - `email` string, nullable
    - `phone` string, nullable
    - `full_name` string, nullable
    - `date_of_birth` string, date, nullable
    - `gender` string, nullable
    - `created_at` string, date-time, required
    - `is_2fa_enabled` boolean
    - `avatar_url` string, nullable
    - `phone_verified` boolean
    - `email_verified` boolean
    - `preferred_language` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mednode/apis/mednode-ai-api.md) · [All operations](https://skmtc.dev/mednode/apis/mednode-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mednode/apis/mednode-ai-api/revisions/7e0b84effd6e?raw)
