Responses
Export responses as rows
/v1/submissions/exportA form's responses as spreadsheet rows, one page at a time, with the same filters and sort as GET /v1/submissions. To get the whole file at any size, use POST /v1/exports, which prepares it in the background. See Export columns and Pagination.
Body
JSON, with Content-Type: application/json.
formIdstringrequiredThe form whose responses to export.
statusenumcompletefor responses where the person finished the form,partialfor the rest. Usestateto tell people still filling it in from people who left.One of
"partial","complete"stateenumstartedfor people still filling in the form,leftfor people who left without finishing,finishedfor people who finished. See Response states.One of
"started","left","finished"endingIdstringOnly finished responses that reached this ending. Use an ending id of the form, and pass
formIdtoo.1–64 chars
consentenumOnly responses with this
consent.agreedfor people who agreed to be called and texted,not_agreedfor people the form asked who haven't agreed,not_askedfor forms with no consent field. See Consent.One of
"agreed","not_agreed","not_asked"fromnumberOnly responses created at or after this time, in milliseconds since the epoch.
tonumberOnly responses created before this time, in milliseconds since the epoch.
searchstringWords to find in the contact details or in any answer. It looks at the name, email and phone, the answers, the labels of picked options and file names. Every word must match, and case and accents don't matter. Digits also match phone numbers written in any format. With a search, each page checks
limitresponses and returns the ones that match. A page can be short or even empty whilenextCursoris not null, so keep paging until it is null.max 200 chars
sortenumHow to order the responses.
createdAtis the default and sorts by when they were created.statusputs left responses first, then started, then finished, andascreverses that.endingsorts by the ending's name, with unfinished responses at one end.contactsorts by the person's name, or their email or phone when there's no name. Ties go by creation time. Every sort exceptcreatedAtneedsformId.One of
"createdAt","status","ending","contact"orderenumdescis the default. With the default sort,desclists the newest responses first.One of
"desc","asc"cursorstringThe
nextCursorfrom the previous page. Leave it out for the first page, and keep the same filters and sort on every page. See Pagination.limitintegerHow many rows a page holds, from 1 to 500. The default is 200. With a search, it's how many responses each page checks.
1–500
Response
formNamestring or nullrequiredThe form's name. Null once the form is deleted.
columnsarray of objectrequiredThe columns, in order. Merge pages by column key, because a later page can add columns for answers to questions in older versions. See Export columns.
Show 2 fieldsHide 2 fields
keystringrequiredThe column's key, such as
answers.crust. Each row uses these keys.headerstringrequiredThe column's heading. For a question, it's the question's current label.
itemsarray of objectrequiredOne row per response, holding text by column key.
nextCursorstring or nullrequiredSend it as
cursorto get the next page, with the same filters and sort. It is null on the last page.linksExpireAtnullrequiredAlways null, because file links in exports are permanent links into the app that ask for sign-in. To download a file over the API, use
GET /v1/files/{fileId}.
Errors answer with a status and the error shape.