Retrieves a list of all forms configured for the requesting practice group.
Hero Health Public API (1.0.0)
Download OpenAPI description
Languages
Servers
Mock server
https://developer.herohealth.net/_mock/apis/public-api/openapi/
Staging
https://api.staging.htech.app/
Production
https://api.herohealth.net/
- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v1/forms
- Staginghttps://api.staging.htech.app/v1/forms
- Productionhttps://api.herohealth.net/v1/forms
- curl
- NodeJS
- Ruby
curl -i -X GET \
'https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/forms?search=string&reply_form=true&form_type=questionnaire' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE'- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v1/forms/{id}
- Staginghttps://api.staging.htech.app/v1/forms/{id}
- Productionhttps://api.herohealth.net/v1/forms/{id}
- curl
- NodeJS
- Ruby
curl -i -X GET \
'https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/forms/{id}' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE'Ok
Enum"string""integer""boolean""datepicker""text""radio""dropdown""checkboxes""consent""paragraph"
Enum"systolic_blood_pressure""diastolic_blood_pressure""height""weight""body_mass_index"
Enum"asthmatic""type_2_diabetes_mellitus""heart_disease""essential_hypertension""copd""atrial_fibrillation""cerebrovascular_accident""type_1_diabetes""ischaemic_heart_disease""rheumatoid_arthritis"
Enum"administration_of_men_a_c_w135_and_y_vaccine""first_measles_mumps_and_rubella_vaccination_first_mmr""second_measles_mumps_and_rubella_vaccination_second_mmr"
One of:
- string
- number
- boolean
- Array of strings
- string or null
- null
string
Response
application/json
{ "id": "string", "form_type": "questionnaire", "title": "string", "description": "string", "patient_title": "string", "patient_description": "string", "snomed_code": "string", "fields": [ { … } ] }
- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v1/forms/{id}/response
- Staginghttps://api.staging.htech.app/v1/forms/{id}/response
- Productionhttps://api.herohealth.net/v1/forms/{id}/response
- curl
- NodeJS
- Ruby
curl -i -X POST \
'https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/forms/{id}/response' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE' \
-d '{
"patient_id": "string",
"auto_write_to_record": false,
"write_to_record": false,
"responses": [
{
"form_question_id": "string",
"text_response": "string",
"integer_response": 0,
"boolean_response": true,
"checkbox_response": [
"string"
],
"datetime_response": "string",
"observation_value_response": "string",
"problem_response": "string",
"immunisation_response": "string",
"base_64_content_type": "string",
"base_64_file_name": "string",
"base_64_file_response": "string"
}
],
"appointment_id": "string"
}'Response
application/json
{ "form_response_id": "string", "confirm_write_to_record_url": "string" }
- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v1/forms/response/{id}
- Staginghttps://api.staging.htech.app/v1/forms/response/{id}
- Productionhttps://api.herohealth.net/v1/forms/response/{id}
- curl
- NodeJS
- Ruby
curl -i -X POST \
'https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/forms/response/{id}' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE' \
-d '{
"auto_write_to_record": false,
"write_to_record": false
}'Response
application/json
{ "form_response_id": "string", "confirm_write_to_record_url": "string" }