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.
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 Company API key, created under Settings > API Keys.
In: header
Path Parameters
The form id.
Query Parameters
1 <= value1 <= value <= 100Case-insensitive substring matched against every answer value of the submission.
ISO instant; submissions received before it are excluded.
date-timeISO instant; submissions received after it are excluded.
date-timeHeader Parameters
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.
^[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 }}List the company's forms GET
Returns the company's forms that are not deleted, newest first, each with its submission count and the time of its latest submission. The steps and fields of a form come from the single-form read.
Archive a lead or deal POST
Archives the record, which hides it from the default list. Archiving an archived record changes nothing. A record owned by another company in your chain returns 404.