Create a presigned upload URL
Files
Create a presigned upload URL
Returns a presigned URL for uploading a file directly to storage. This is the recommended way to upload files — it bypasses server body-size limits and supports files of any size.
The flow is:
- Call this endpoint to get a presigned PUT URL and a
file_id. PUTthe file body directly to the returnedupload_url.- Call
POST /files/{id}/complete-uploadto finalize the record.
POST
Create a presigned upload URL
Documentation Index
Fetch the complete documentation index at: https://docs.questra.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Body
application/json
Original name of the file (e.g. questionnaire.docx)
MIME type of the file (e.g. application/vnd.openxmlformats-officedocument.wordprocessingml.document)
File size in bytes
Required range:
x >= 1ID of the survey to attach this file to. Omit to upload without a survey association.