Upload File
Supporting APIs
Upload File
Upload files to Wokelo to supplement research reports with proprietary data. Each uploaded file receives a unique identifier (fileName) that can be referenced in the custom_files parameter when creating reports.
- Individual uploads preferred – for best performance, upload files one at a time.
- Bulk upload limits – maximum 10 files per request, 20 MB limit per file.
POST
Upload File
Overview
Upload your files to Wokelo to supplement research reports with proprietary data. Each uploaded file receives a unique identifier that you can reference in thecustom_files parameter when creating reports.
Endpoint Details
- Method: POST
- Endpoint:
/api/assets/upload/
Authentication requirements
- Include a valid JWT token in your request header
- If you don’t have a token yet, you can get one from the /auth/token/ endpoint first.
Request
Request Parameters
Header Parameters
string
required
JWT token obtained from the Authentication request
Body Parameters
array of files
required
Array of files to be uploaded
array of uuids
Your own UUIDs to track files. Must match the length and order of the
files array. These UUIDs will be returned in the response alongside Wokelo’s fileName identifiers.- Individual uploads preferred - For best performance, upload files individually
- Bulk upload limits - When uploading multiple files, the maximum is 10 files per request with a 20MB limit per file.
Response
Successful response will include the details of files uploaded successfully and those that failed to upload.Successful Response Fields
String
Overall upload status (success or error)
Array of Objects
Array containing information on successfully uploaded files
String
Wokelo’s unique file identifier—use this in the
custom_files parameter when creating reportsString
Original filename as uploaded
String
Detected file type/format
String
Your provided UUID (if supplied in request)
Array of Objects
Array containing information about failed uploads (empty on success)
String
Reason for which the file upload failed
Authorizations
JWT token obtained from the /auth/token/ endpoint.
Body
multipart/form-data