Export Submissions (CSV)
Export submissions for a form as a CSV file. Large exports are processed asynchronously in the background, while smaller exports are processed immediately.Authentication & Scope
Requiresforms-read
ability.
Request
Path Parameters
Parameter | Type | Description |
---|---|---|
id | number | Numeric ID of the form. |
Body Parameters
Field | Type | Required | Description |
---|---|---|---|
columns | object | Yes | Keys are field IDs (or created_at ); values are booleans indicating whether to include the column in the export. |
Response
The API automatically determines whether to process the export synchronously or asynchronously based on the form size.Synchronous Export (Small Forms)
200 OK
– Returns a CSV file download immediately. The response’s Content-Type
will be text/csv
and include the Content-Disposition
header.
Asynchronous Export (Large Forms)
200 OK
– Returns a job status object for background processing:
Use the
job_id
to check export progress using the Export Status
endpoint.Error Responses
403 Forbidden
– The token lacks forms-read
or you don’t have access.Authorizations
Personal Access Token
Path Parameters
Body
application/json
Object mapping field IDs to booleans to include columns in CSV.
Response
Synchronous export (CSV file) or asynchronous export (job status)
CSV file download for small forms