---
title: "Upload Doctor Avatar"
method: POST
path: "/api/doctor/profile/avatar"
---

# Upload Doctor Avatar

`POST /api/doctor/profile/avatar`

## 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/doctor/profile/avatar`
- Auth: HTTP bearer

Upload or replace the doctor's profile photo.

DoctorProfile.profile_image_url existed as a column and schema field but had
no endpoint to populate it — this activates it.

## Response `200`

Successful Response

- DoctorProfileResponse
  - `id` integer, required
  - `doctor_user_id` integer, required
  - `specialty` string, nullable
  - `license_number` string, nullable
  - `qualification` string, nullable
  - `experience_years` integer, nullable
  - `clinic_address` string, nullable
  - `clinic_phone` string, nullable
  - `hospital_affiliations` string[]
  - `verified` boolean, required
  - `profile_image_url` string, nullable
  - `availability` object, nullable
  - `queue_slug` string, nullable
  - `registration_council` string, nullable
  - `signature_url` string, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## 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)
