---
title: "Add Availability Slot"
method: POST
path: "/api/doctor/availability"
---

# Add Availability Slot

`POST /api/doctor/availability`

## 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/availability`
- Auth: HTTP bearer

Add a recurring weekly availability slot.

## Request body

- AppointmentSlotCreate
  - `day_of_week` integer, required
  - `start_time` string, required
  - `end_time` string, required
  - `slot_duration` integer

## Response `200`

Successful Response

- AppointmentSlotResponse
  - `id` integer, required
  - `doctor_user_id` integer, required
  - `day_of_week` integer, required
  - `start_time` string, required
  - `end_time` string, required
  - `slot_duration` integer, required
  - `is_active` boolean, required
  - `created_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)
