---
title: "Upload Questionnaire"
method: POST
path: "/questionnaires/"
tags: ["Questionnaires"]
---

# Upload Questionnaire

`POST /questionnaires/`

Submits a new questionnaire file to SafeBase

 The following params must be sent as **form data** key pair values: 

- qnr 

- accountId 

- productId (optional for single-product orgs, required for multi-product orgs) 

 The following form data fields are optional: 

- dueDate 



 **Supported file formats**: xlsx, .pdf, .docx, .csv, .json and plain text (not exhaustive, please check latest support docs)

## Response `201`

Successful operation

- object
  - `ok` boolean
  - `result` object
    - `qnrId` string, uuid
    - `fileId` string
    - `accountId` string, uuid
    - `productId` string

## Other responses

- `400` — Invalid request
- `403` — Invalid api key / missing scope
- `404` — Not found or no access
- `405` — Method not allowed

---

[API](https://skmtc.net/safebase/apis/safebase-api-documentation.md) · [All operations](https://skmtc.net/safebase/apis/safebase-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/safebase/safebase-api-documentation/revisions/019289073242/schema)
