Skip to main content
POST
/
files
/
createFromUrl
Create a file from URL
curl --request POST \
  --url https://api.kaizenautomation.com/files/createFromUrl \
  --header 'Content-Type: application/json' \
  --data '{
  "fileUrl": "<string>",
  "name": "<string>"
}'
{
  "id": "<string>",
  "name": "<string>",
  "mimeType": "<string>",
  "sizeBytes": 123,
  "downloadUrl": "<string>",
  "key": "<string>"
}

Body

application/json

Request to create a file from a URL

fileUrl
string<uri>
required

URL of the file to upload

name
string
required

Name to give the uploaded file

Response

File uploaded successfully from URL

Created file information from 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 | 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).