Responses API
Retrieve, filter, delete, and export form responses.
The Responses API lets you retrieve, filter, delete, and export the submissions collected by your forms. All responses are scoped to a specific form.
All request and response bodies use snake_case field names.
List Responses
/api/v1/forms/:id/responsesReturns a paginated list of responses for a form, ordered by submission date (most recent first).
Path Parameters
idstringrequiredThe form ID
Query Parameters
pageintegerPage number (default: 1)
per_pageintegerResults per page (default: 50)
sincestringISO 8601 date. Only return responses submitted on or after this date.
untilstringISO 8601 date. Only return responses submitted on or before this date.
completedbooleanFilter by completion status. true returns only completed responses, false returns only partial responses.
Answer Value Types
short_textstringExample: "Jane Smith"
long_textstringExample: "I really enjoyed the product..."
multiple_choicestringExample: "Option A"
multiple_choice (multi)array of stringsExample: ["Option A", "Option C"]
ratingnumberExample: 4
opinion_scalenumberExample: 8
numbernumberExample: 42
emailstringExample: "jane@example.com"
datestring (ISO 8601)Example: "2026-03-15"
yes_nobooleanExample: true
file_uploadobjectExample: { "url": "...", "name": "doc.pdf" }
dropdownstringExample: "United States"
Response
{
"responses": [
{
"id": "667a1b2c3d4e5f6a7b8c9d01",
"form_id": "665a1b2c3d4e5f6a7b8c9d0e",
"visitor_id": "v_8f2k3j4l5m6n",
"submitted_at": "2026-02-27T15:42:00.000Z",
"completed_at": "2026-02-27T15:45:30.000Z",
"metadata": {
"user_agent": "Mozilla/5.0",
"referrer": "https://example.com"
},
"answers": [
{
"question_id": "66a1b2c3d4e5f6a7b8c9d001",
"value": "Jane Smith"
},
{
"question_id": "66a1b2c3d4e5f6a7b8c9d002",
"value": "Social media"
},
{
"question_id": "66a1b2c3d4e5f6a7b8c9d003",
"value": 5
}
],
"quiz_results": null
}
],
"total": 142,
"page": 1,
"per_page": 50
}
Code Examples
curl -X GET "https://api.nueform.io/api/v1/forms/665a1b2c3d4e5f6a7b8c9d0e/responses?page=1&per_page=25&completed=true" \
-H "Authorization: Bearer YOUR_API_KEY"
Get Response
/api/v1/forms/:id/responses/:responseIdRetrieves a single response by ID.
Path Parameters
idstringrequiredThe form ID
responseIdstringrequiredThe response ID
Quiz Results
For forms using quiz modes (knowledge_quiz, lead_qualification, match_quiz), the quiz_results field contains scoring data.
Response
{
"id": "667a1b2c3d4e5f6a7b8c9d01",
"form_id": "665a1b2c3d4e5f6a7b8c9d0e",
"visitor_id": "v_8f2k3j4l5m6n",
"submitted_at": "2026-02-27T15:42:00.000Z",
"completed_at": "2026-02-27T15:45:30.000Z",
"metadata": {
"user_agent": "Mozilla/5.0",
"referrer": "https://example.com"
},
"answers": [
{
"question_id": "66a1b2c3d4e5f6a7b8c9d001",
"value": "Jane Smith"
},
{
"question_id": "66a1b2c3d4e5f6a7b8c9d002",
"value": "Social media"
},
{
"question_id": "66a1b2c3d4e5f6a7b8c9d003",
"value": 5
}
],
"quiz_results": null
}
Quiz Results Example
{
"quiz_results": {
"score": 8,
"correct_answers": 4,
"total_scorable_questions": 5,
"max_score": 10,
"matched_ending_id": null,
"form_mode": "knowledge_quiz"
}
}
Code Examples
curl -X GET "https://api.nueform.io/api/v1/forms/665a1b2c3d4e5f6a7b8c9d0e/responses/667a1b2c3d4e5f6a7b8c9d01" \
-H "Authorization: Bearer YOUR_API_KEY"
Delete Response
/api/v1/forms/:id/responses/:responseIdPermanently deletes a single response.
This action is irreversible. The response data cannot be recovered after deletion.
Path Parameters
idstringrequiredThe form ID
responseIdstringrequiredThe response ID
Response
{
"success": true
}
Code Examples
curl -X DELETE "https://api.nueform.io/api/v1/forms/665a1b2c3d4e5f6a7b8c9d0e/responses/667a1b2c3d4e5f6a7b8c9d01" \
-H "Authorization: Bearer YOUR_API_KEY"
Bulk Delete Responses
/api/v1/forms/:id/responses/bulk-deleteDeletes multiple responses in a single request. Maximum of 100 responses per request. All specified response IDs must belong to the given form.
Path Parameters
idstringrequiredThe form ID
Request Body
response_idsarray of stringsrequiredIDs of the responses to delete (max 100)
Request Example
{
"response_ids": [
"667a1b2c3d4e5f6a7b8c9d01",
"667a1b2c3d4e5f6a7b8c9d02",
"667a1b2c3d4e5f6a7b8c9d03"
]
}
Response
{
"deleted": 3
}
Code Examples
curl -X POST "https://api.nueform.io/api/v1/forms/665a1b2c3d4e5f6a7b8c9d0e/responses/bulk-delete" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"response_ids": [
"667a1b2c3d4e5f6a7b8c9d01",
"667a1b2c3d4e5f6a7b8c9d02"
]
}'
Export Responses (CSV)
/api/v1/forms/:id/responses/exportExports all responses for a form as a CSV file. The CSV includes columns for responseId, submittedAt, completedAt, and one column per question (using the question title as the column header).
For group questions (question_group, multi_question_page, contact_info, address), each sub-field gets its own column.
Path Parameters
idstringrequiredThe form ID
Response
Returns a CSV file with Content-Type: text/csv.
responseId,submittedAt,completedAt,What is your name?,How did you hear about us?,How would you rate your overall experience?
667a1b2c3d4e5f6a7b8c9d01,2026-02-27T15:42:00.000Z,2026-02-27T15:45:30.000Z,Jane Smith,Social media,5
667a1b2c3d4e5f6a7b8c9d02,2026-02-26T10:15:00.000Z,2026-02-26T10:18:22.000Z,Bob Johnson,Search engine,4
667a1b2c3d4e5f6a7b8c9d03,2026-02-25T08:30:00.000Z,,Alex Chen,Friend or colleague,
Code Examples
curl -X GET "https://api.nueform.io/api/v1/forms/665a1b2c3d4e5f6a7b8c9d0e/responses/export" \
-H "Authorization: Bearer YOUR_API_KEY" \
-o responses.csv
Error Responses
All endpoints return standard error responses:
Status Codes
400Bad RequestInvalid parameters, bulk delete exceeds 100 items
401UnauthorizedMissing or invalid API key
403ForbiddenInsufficient team permissions
404Not FoundForm or response not found
500Internal Server ErrorInternal server error
Error Example
{
"error": "Response not found"
}