POST /_system/assets/stream

Upload a file to the system with streaming support (max 500MB)

Upload a file to the system with streaming support (max 500MB)
KeyTypeExampleDescription
filenamerequiredstring
"example"
Original filename (URL encoded)
filesizerequiredinteger
1
File size in bytes (max 500MB)
directoryrequiredstring
"example"
Target directory for upload
Allowed: "public", "system_assets", "temp"
filetypeoptionalstring
"example"
MIME type (optional, will be detected from extension)
actionoptionalstring
"example"
Blueprint action GUID (optional, creates blueprints subfolder)
pathoptionalstring
"example"
Custom subdirectory path (optional, URL encoded)
KeyTypeExampleDescription
authorizationrequiredstring
"Bearer access_token"
Access token
{
  "assets_guid": "a23575f49d0af385314c1f02280163374297e018a692e5e4ab85eb307ebf6ebc",
  "name": "production",
  "type": "totp"
}
{
  "error": "FILE_TOO_BIG"
}
StatusError CodeDescription
400FILE_TOO_BIGUpload error (file too big, invalid directory, etc.)
401INVALID_ACCESS_TOKENAuthentication required or invalid token
PermissionDescription
Bearer tokenAccess token required via Authorization header, x-authtoken, x-token, query param, or cookie
assets_createRequired scope: assets_create

Back to System Assets Return to the System Assets category to view other endpoints All API Categories Browse all available API categories