Skip to main content
POST
/
v1
/
questionnaire
/
parse
/
upload
cURL
curl --request POST \
  --url http://localhost:3333/v1/questionnaire/parse/upload \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file' \
  --form 'organizationId=<string>' \
  --form format=xlsx \
  --form source=internal

Body

multipart/form-data
file
file
required

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

organizationId
string
required

Organization to use for generating answers

format
enum<string>
default:xlsx

Output format (defaults to XLSX)

Available options:
pdf,
csv,
xlsx
source
enum<string>
default:internal

Indicates if the request originated from our UI (internal) or trust portal (external).

Available options:
internal,
external

Response

201 - undefined