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 MarkdownAuthorization
bearer In: header
Path Parameters
Query Parameters
"csv"Value in
- "csv"
- "json"
"accepted"Value in
- "accepted"
- "spam"
- "all"
Text to find in a submission's field VALUES, case-insensitive, anywhere in the value. Field names are not searched. % and _ are literal.
length <= 200Inclusive start, YYYY-MM-DD (UTC midnight) or RFC 3339
Exclusive end as RFC 3339, or YYYY-MM-DD to include that whole day (UTC)
"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" } }]Delete submissions in bulk
Hard-deletes submissions and takes them off the form's counters. Exactly one selector, from the JSON body or the query string: ids (at most 1000; in the query, repeated or comma-separated) deletes those submissions whether or not they are spam, and ids of other forms are ignored; before (RFC 3339) deletes everything received before that instant, leaving spam alone unless includeSpam is true. Owner-only — a shared form returns 403. Recorded in the audit log (submissions.deleted) when anything was deleted.
Mark spam / not spam
Flips the spam flag and adjusts the form's spamCount. Returns a message, not the submission. Owner-only — triaging a shared form's inbox returns 403.