Skip to main content
GET
/
forms
/
{form_id}
/
submissions
Get Form Submissions
curl --request GET \
  --url https://api.decodahealth.com/forms/{form_id}/submissions \
  --header 'API-KEY: <api-key>' \
  --header 'TENANT: <tenant>'
{
  "data": [
    {
      "patient": {
        "id": "<string>",
        "type": "PROVIDER",
        "firstName": "<string>",
        "lastName": "<string>",
        "phoneNumber": "<string>",
        "email": "<string>",
        "locationId": "<string>"
      },
      "answers": [
        {
          "questionId": "<string>",
          "data": "<string>"
        }
      ],
      "submissionDate": "2023-11-07T05:31:56Z",
      "hadUploadError": true
    }
  ],
  "total": 123
}

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Path Parameters

form_id
string
required

Query Parameters

page
integer | null
per_page
integer | null
sort_by
string | null
sort_direction
enum<string> | null
Available options:
asc,
desc
location_id
string | null
patient_name
string | null
submission_date
string | null
patient_id
string | null
index
string | null
show_archived
boolean
default:false
tz
string
required

Response

Successful Response

data
PatientSubmission · object[]
required
total
integer
required