Retrieves an appointment by its ID.
Security
apiKeyAuth and practiceGroupId
- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v1/appointments/{id}
- Staginghttps://api.staging.htech.app/v1/appointments/{id}
- Productionhttps://api.herohealth.net/v1/appointments/{id}
curl -i -X GET \
'https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/appointments/{id}' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE'Ok
Enum:"reserved""pending""confirmed""cancelling""rescheduling""abandoned""cancelled""failed""unknown"
Response
{ "id": "string", "patient_id": "string", "practitioner_id": "string", "location_id": "string", "appointment_type_id": "string", "duration": 1, "start_time": "2019-08-24T14:15:22Z", "video": false, "in_person": false, "telephone": false, "video_url": "string", "link_id": "string", "reserved_until": "2019-08-24T14:15:22Z", "booking_confirmed_at": "2019-08-24T14:15:22Z", "can_be_cancelled": false, "can_be_rescheduled": false, "cancellation_policy_hours": 0, "suppress_mail": false, "reason": "string", "appointment_template_name": "string", "location_name": "string", "appointment_source": "string", "booking_mechanism": "hero_confirmed", "booking_status": "reserved", "cancelled_at": "2019-08-24T14:15:22Z", "patient": { "id": "string", "title": "Baron", "first_name": "string", "last_name": "string" }, "practitioner": { "id": "string", "title": "Baron", "first_name": "string", "last_name": "string" } }