Skip to content

Upload and export generated answers

POST
/v1/questionnaire/answers/export/upload
curl --request POST \
--url https://api.varman.io/v1/questionnaire/answers/export/upload \
--header 'Content-Type: multipart/form-data' \
--header 'X-API-Key: <X-API-Key>' \
--form file=@file \
--form organizationId=example \
--form format=pdf

Upload a questionnaire file and return generated answer exports in PDF, CSV, or XLSX format.

Media typemultipart/form-data
object
file
required

Questionnaire file (PDF, image, XLSX, CSV, TXT)

string format: binary
organizationId
required

Organization to use for answer generation

string
format

Output format (defaults to XLSX)

string
default: xlsx
Allowed values: pdf csv xlsx