---
title: "Get My Queue"
method: GET
path: "/api/doctor/queue"
---

# Get My Queue

`GET /api/doctor/queue`

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

Doctor's own queue state + today's list (or a clinic colleague's).

## Query parameters

- `as_doctor_id` integer

## Response `200`

Successful Response

- QueueStateResponse
  - `doctor_id` integer, required
  - `doctor_name` string, required
  - `specialty` string, nullable
  - `hospital_name` string, nullable
  - `queue_slug` string, nullable
  - `date` string, nullable
  - `current_token` integer, required
  - `status` string, required
  - `message` string, nullable
  - `total_today` integer, required
  - `waiting` integer, required
  - `next_tokens` integer[], required
  - `updated_at` string, 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)
