Export Submissions
CSV export is a dashboard feature. It is not part of the Bearer-auth REST API and cannot be called with an API key. Use the List Submissions endpoint to fetch submissions programmatically.
The export endpoint streams a CSV file for a given form. It requires an active dashboard session (Clerk cookie auth) and is available at:
GET https://app.formtorch.com/api/export/csv/{formId}?range=30daysQuery parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
range | string | 30days | Date range: 24hours, 7days, 30days, all |
CSV format
The first row contains column headers. Metadata columns appear first, followed by one column per form field sorted alphabetically.
| Column | Description |
|---|---|
Timestamp | ISO 8601 submission timestamp |
IP Address | Submitter IP address |
User Agent | Submitter user agent string |
Test | true if this was a test submission |
Spam | true if TorchWarden flagged this as spam |
Spam Score | Numeric spam score |
[field] | One column per form field, sorted alphabetically |
Nested objects are flattened with dot notation: address.city, address.zip. Values that begin with =, +, -, or @ are prefixed with a single quote to prevent spreadsheet formula injection.
Exporting from the dashboard
To export without code, go to your form’s Submissions page in the dashboard and click Export CSV. See Export Submissions for full instructions.