Forms

Get a form submission

Returns one submission with every answer and the request details captured when it was sent: IP address, user agent, referrer, reCAPTCHA score and time spent per step.

GET
/forms/{id}/submissions/{subId}

Returns one submission with every answer and the request details captured when it was sent: IP address, user agent, referrer, reCAPTCHA score and time spent per step.

Authorization

x-api-key
x-api-key<token>

Company API key, created under Settings > API Keys.

In: header

Path Parameters

id*string

The form id.

subId*string

The submission id.

Header Parameters

x-company-id?string

Optional with an API key or OAuth token: leave it out and the company the key or token belongs to is used. If sent, it must be that same company, otherwise the request is refused with 403 API_KEY_WRONG_COMPANY or OAUTH_WRONG_COMPANY.

Match^[0-9a-fA-F]{24}$

Response Body

application/json

curl -X GET "https://example.com/forms/string/submissions/string"
{  "companyId": "string",  "createdAt": "2019-08-24T14:15:22Z",  "data": [    {      "fieldId": "string",      "fieldLabel": "string",      "fieldType": "string",      "value": null    }  ],  "formId": "string",  "id": "string",  "isFlagged": true,  "metadata": {    "ip": "string",    "recaptchaScore": 0,    "referrer": "string",    "stepCompletionTimes": {      "property1": 0,      "property2": 0    },    "userAgent": "string"  }}