Skip to main content
POST
/
files
/
create
Create a file
curl --request POST \
  --url https://api.kaizenautomation.com/files/create \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file' \
  --form 'name=<string>'
{
  "id": "<string>",
  "name": "<string>",
  "mimeType": "<string>",
  "sizeBytes": 123,
  "downloadUrl": "<string>",
  "key": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.kaizenautomation.com/llms.txt

Use this file to discover all available pages before exploring further.

Body

multipart/form-data

File upload with optional name

File upload with optional name

file
file
required

The file to upload

name
string

Optional name for the file. If not provided, will use the original filename.

Response

File uploaded successfully

Created file information

id
string
required

Unique identifier for the file

name
string
required

Name of the file

mimeType
string | null
required

MIME type of the file

sizeBytes
number | null
required

Size of the file in bytes

downloadUrl
string | null
required

Signed URL to download the file directly

key
string | null
required

Key identifier for the file (for example, a key provided when completing a download for the file).