API Docs//
API Reference
/- Book an Appointment
Get an Appointment
Get Appointment Status
Create an Appointment
List Appointment Types
Get Booking Link
Count Bookable Slots
Get Bookable Slot
List Bookable Slots
Check slot availability
List Appointments
Cancel an Appointment
Reschedule Appointment
Edit an Appointment reservation
List Automated messages
List Booking links
Edit an Appointment
Book an Appointment
Cancel an Appointment
Reschedule an Appointment
Book an Appointment
Submits a previously reserved appointment for booking. Returns immediately with status "pending"; the booking is confirmed asynchronously. Poll Get Appointment Status for the outcome.
Only appointments reserved with booking_mechanism: ehr_confirmed can be booked here; hero_confirmed appointments must be booked via the v1 endpoint.
Security
apiKeyAuth and practiceGroupId
- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v2/appointments/{id}/book
- Staginghttps://api.staging.htech.app/v2/appointments/{id}/book
- Productionhttps://api.herohealth.net/v2/appointments/{id}/book
curl -i -X PATCH \
'https://developer.herohealth.net/_mock/apis/public-api/openapi/v2/appointments/{id}/book' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE' \
-d '{
"reason": "string",
"patient_id": "string",
"billpayer_id": "string",
"suppress_invoice": true,
"suppress_availability_check": true,
"externally_paid": true,
"episode_id": "string"
}'Response
{ "id": "string", "status": "reserved" }