Knowledge base
Upload file
* A single document may currently be at most 20 MB; larger files cannot be processed * A single sheet may currently contain at most 2000 data rows; larger sheets cannot be processed
POST
/openapi/file_uploadRequest
Parameters
AuthorizationstringrequiredHeader · Authentication token
Request body
filestringrequired
File to upload
Example:
""Response
200 OK
fileNamestringrequired
File name
filePathstringrequired
Path of the uploaded file
Sample code
curl -X POST 'https://openapi.voicefox.ai/openapi/file_upload' \
-H 'Authorization: Bearer <YOUR_TOKEN>' \
-H 'Content-Type: application/json' \
-d '{
"file": ""
}'Response example
{
"fileName": "string",
"filePath": "string"
}