Skip to main content
POST
/
v1
/
questionnaire
/
answers
/
export
/
upload
Upload and export generated answers
curl --request POST \
  --url https://api.trycomp.ai/v1/questionnaire/answers/export/upload \
  --header 'Content-Type: multipart/form-data' \
  --header 'X-API-Key: <api-key>' \
  --form file='@example-file' \
  --form 'organizationId=<string>'

Documentation Index

Fetch the complete documentation index at: https://www.trycomp.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

API key for authentication

Body

multipart/form-data
file
file
required

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

organizationId
string
required

Organization to use for answer generation

format
enum<string>
default:xlsx

Output format (defaults to XLSX)

Available options:
pdf,
csv,
xlsx

Response

201 - undefined