Awell Health Developer Hub
Developer Hub

Request

Query

  • graphql
01query GetFormResponse($pathway_id: String!, $activity_id: String!) {
02 formResponse(pathway_id: $pathway_id, activity_id: $activity_id) {
03 response {
04 answers {
05 question_id
06 value
07 value_type
08 }
09 }
10 }
11}

Variables

  • json
01{
02 "pathway_id": "{{PATIENT_PATHWAY_ID}}",
03 "activity_id": "{{FORM_ACTIVITY_ID}}"
04}

The inputs for this query are:

FieldRequiredDescriptionType
pathway_idYesthe id of the pathwaystring
activity_idYesthe id of the form activity (note: not the form id)string