Skip to main content
GET
Get slots

Authorizations

Authorization
string
header
required

JWT obtained from POST /client/auth/token.

Query Parameters

branchID
string
required
pincode
string

Patient's pincode. Lists only phlebotomists who registered it in their profile; an empty list means nobody at this branch collects there. Leave it out to list every phlebotomist of the branch.

date
string<date>

YYYY-MM-DD in IST, from today up to 60 days ahead. Defaults to today.

time
string

HH:mm 24-hour in IST. When sent, status is Available or Outside Slot for this time.

Pattern: ^([01]\d|2[0-3]):[0-5]\d$

Response

Slots returned

pincode
string | null

The pincode asked for, or null when none was sent.

date
string

The day used, YYYY-MM-DD in IST (today when none was sent).

time
string | null

The time asked for, or null when none was sent.

phlebotomists
object[]

Sorted by name. Empty when no phlebotomist of the branch registered the pincode.