Forms

List a form's submissions

Returns one page of the form's submissions, newest first. `page` starts at 1 (default 1) and `pageSize` defaults to 20, at most 100. `search` matches any answer value case-insensitively. `createdFrom` and `createdTo` are ISO 8601 date-times that bound when the submission was received, both inclusive.

GET
/forms/{id}/submissions

Returns one page of the form's submissions, newest first. page starts at 1 (default 1) and pageSize defaults to 20, at most 100. search matches any answer value case-insensitively. createdFrom and createdTo are ISO 8601 date-times that bound when the submission was received, both inclusive.

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.

Query Parameters

page?number
Range1 <= value
pageSize?number
Range1 <= value <= 100
search?string

Case-insensitive substring matched against every answer value of the submission.

createdFrom?string

ISO instant; submissions received before it are excluded.

Formatdate-time
createdTo?string

ISO instant; submissions received after it are excluded.

Formatdate-time

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"
{  "data": [    {      "companyId": "string",      "createdAt": "2019-08-24T14:15:22Z",      "data": [        {          "fieldId": "string",          "fieldLabel": "string",          "fieldType": "string",          "value": null        }      ],      "formId": "string",      "id": "string",      "isFlagged": true,      "leadId": "string"    }  ],  "pagination": {    "currentPage": 0,    "hasNextPage": true,    "limit": 0,    "totalCount": 0,    "totalPages": 0  }}