Responses
Export a CSV file
/v1/submissions/export.csvThe whole export of a form's responses as one CSV file, with the same filters and sort as GET /v1/submissions. Each column is headed by its header text. The answer is the file itself, and Content-Disposition gives its name. A file bigger than 15 MB answers 413 too_large. For bigger files use POST /v1/exports, which prepares a file of any size in the background. See Export columns.
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"
Response
200 with the file itself (text/csv), as a download.
Errors answer with a status and the error shape.