Exports
Cancel an export
/v1/exports/{exportId}/cancelStop an export that is still being prepared, and delete what it wrote so far. An export that already finished stays as it is. Returns the export.
Path parameters
exportIdstringrequiredThe export's id.
Response
idstringrequiredThe export's id.
formIdstringrequiredThe form whose responses it exports.
statusenumrequiredrunningwhile the file is being prepared, withrowscounting the responses written so far.readyonce you can callPOST /v1/exports/{exportId}/download, and the file is kept for a day.expiredonce the file was deleted, so export again.failedwhen it went wrong, anderrorsays why.canceledwhen someone stopped it.One of
"running","ready","failed","canceled","expired"rowsnumberrequiredHow many responses were written so far. Once ready, it's all of them.
bytesnumberrequiredThe file's size so far, in bytes.
filenamestringrequiredThe CSV file's name.
filteredbooleanrequiredWhether any filter was on. A filtered file has "-filtered-" in its name.
filtersobjectrequiredThe filters and sort it was asked for, as in
GET /v1/submissions.Show 9 fieldsHide 9 fields
statusenumOne of
"partial","complete"stateenumOne of
"started","left","finished"endingIdstringconsentenumOne of
"agreed","not_agreed","not_asked"fromnumbertonumbersearchstringsortenumOne of
"createdAt","status","ending","contact"orderenumOne of
"desc","asc"
errorstring or nullrequiredWhy it failed. Null otherwise.
minebooleanrequiredWhether you started it. Over the API, that means with this key.
createdAtnumberrequiredWhen it started, in milliseconds since the epoch.
finishedAtnumber or nullrequiredWhen it stopped running, in milliseconds since the epoch. Null while it runs.
Errors answer with a status and the error shape.