Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

The API requires a Bearer token (JWT) for authentication.

Headers

X-Pt-Id
string

Eka User ID (OID)

X-Partner-Pt-Id
string

Partner User ID

X-Hip-Id
string

Partner HIP ID

Body

application/json
billing
object

Billing information for the appointment

doctor_id
string

Unique identifier of the doctor associated with the slot

end_time
string

End time of the appointment (24H format, ISO 8601 supported)

facility_id
string

Optional facility or branch identifier if applicable

price
object

Price details of the consultation

provider_id
string

Unique identifier of the healthcare provider or hospital

slot_id
string

Unique identifier of the selected slot

start_time
string

Start time of the appointment (24H format, ISO 8601 supported)

transaction_id
string

Unique transaction identifier for slot booking received in the previous api response

Response

OK

order_id
string

Unique booking/order ID

provider_id
string

Provider ID for the next API call

txn_id
string

Unique transaction ID for the next API call