POST
/
abdm
/
uhi
/
v1
/
physical-consultation
/
booking
/
init
cURL
curl --request POST \
  --url https://api.eka.care/abdm/uhi/v1/physical-consultation/booking/init \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "billing": {
    "address": {
      "city": "<string>",
      "country": "<string>",
      "door": "<string>",
      "locality": "<string>",
      "name": "<string>",
      "state": "<string>"
    },
    "name": "<string>",
    "phone": "<string>"
  },
  "doctor_id": "<string>",
  "end_time": "<string>",
  "facility_id": "<string>",
  "price": {
    "currency": "<string>",
    "value": "<string>"
  },
  "provider_id": "<string>",
  "slot_id": "<string>",
  "start_time": "<string>",
  "transaction_id": "<string>"
}'
{
  "order_id": "<string>",
  "provider_id": "<string>",
  "txn_id": "<string>"
}

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