ナレッジベース

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"
}