지식 베이스
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_upload요청
매개변수
Authorizationstring필수헤더 · Authentication token
요청 본문
filestring필수
File to upload
Example:
""응답
200 OK
fileNamestring필수
File name
filePathstring필수
Path of the uploaded file
샘플 코드
curl -X POST 'https://openapi.voicefox.ai/openapi/file_upload' \
-H 'Authorization: Bearer <YOUR_TOKEN>' \
-H 'Content-Type: application/json' \
-d '{
"file": ""
}'응답 예시
{
"fileName": "string",
"filePath": "string"
}