Skip to main content
POST
Export generated questionnaire answers

Authorizations

X-API-Key
string
header
required

API key for authentication

Body

application/json
fileData
string
required

Base64-encoded contents of the questionnaire file.

fileType
string
required

MIME type of the file (PDF, image, XLSX, CSV, TXT).

Example:

"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"

organizationId
string
required

Organization ID. The API overwrites this with the authenticated active organization.

Example:

"org_abc123"

format
enum<string>
required

File format to export the answered questionnaire in.

Available options:
pdf,
csv,
xlsx
Example:

"xlsx"

fileName
string

Original name of the questionnaire file.

Example:

"vendor-security-questionnaire.xlsx"

vendorName
string

Name of the vendor the questionnaire came from.

Example:

"Acme Corp"

exportInAllExtensions
boolean

Return a ZIP containing the questionnaire in every format (PDF, CSV and XLSX) instead of one file.

Example:

false

Response

201 - undefined