EaserixDocs
DevelopersAPI referenceFormsSubmissions

Export every matching submission

Streams every submission the filters match, as CSV or JSON, with no row cap. status, q, from, to and sort mean what they mean in listSubmissions (accepted submissions unless status says otherwise); limit and offset do not apply. X-Total-Count is how many rows the file should hold. The CSV has one column per field name found in the matching rows, most common first, then created and isSpam, and keeps the spreadsheet guard: any cell (and any header) starting with =, +, -, @, a tab or a carriage return gets a leading apostrophe so it opens as text, never a formula. The JSON is an array of {id, created, isSpam, data} with the values exactly as submitted. If the matching rows have more than 2000 distinct field names the CSV is refused with 422 and the JSON export still works. Readable, like the list it exports, and recorded in the audit log (submissions.exported).

View as Markdown
GET
/v1/forms/{id}/submissions/export
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Query Parameters

format?string
Default"csv"

Value in

  • "csv"
  • "json"
status?string
Default"accepted"

Value in

  • "accepted"
  • "spam"
  • "all"
q?string

Text to find in a submission's field VALUES, case-insensitive, anywhere in the value. Field names are not searched. % and _ are literal.

Lengthlength <= 200
from?string

Inclusive start, YYYY-MM-DD (UTC midnight) or RFC 3339

to?string

Exclusive end as RFC 3339, or YYYY-MM-DD to include that whole day (UTC)

sort?string
Default"newest"

Value in

  • "newest"
  • "oldest"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/forms/string/submissions/export"
[  {    "id": "string",    "created": "2019-08-24T14:15:22Z",    "isSpam": true,    "data": {      "property1": "string",      "property2": "string"    }  }]