fileUpload
Get upload instructions for a public or protected file. Upload the bytes using the returned method and headers before expiresAt, at most 900 seconds later. Then ingest hostedUrl into the same bucket with the same fileAccess settings. For protected files, submit ingest before expiresAt; public uploads can be ingested later. Uploads without a policy also work when file protection is disabled.
Authentication
X-API-Keystring
API Key authentication via header
Path parameters
bucketId
Request
This endpoint expects an object.
fileName
fileType
The type of document (one of the currently supported file types)
fileAccess
Settings for the uploaded file. Send the same settings when ingesting hostedUrl. Omit or send null to use the bucket and account settings. Checked before upload; requires file protection to be enabled.
Response
Upload instructions
uploadId
uploadUrl
hostedUrl
expiresAt
method
Allowed values:
headers
effectiveFileAccess
Settings used for this upload. If mode is protected, submit ingest before expiresAt. Public uploads can be ingested later.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
503
Service Unavailable Error

