POST
/
files
/
get
Get file
curl --request POST \
  --url https://api.kaizenautomation.com/files/get \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>"
}'
{
  "id": "<string>",
  "name": "<string>",
  "mimeType": "<string>",
  "sizeBytes": 123,
  "downloadUrl": "<string>",
  "key": "<string>"
}

Body

application/json

Request to get a single file

id
string
required

ID of the file to retrieve

Response

File retrieved successfully

File details with download URL

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
required

URL to download the file

key
string | null
required

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