Files
POST /files/upload-url
Get a short-lived URL to upload a file to. PUT the file's bytes to uploadUrl, then pass the returned key to whichever endpoint consumes the file, such as brand assets or import jobs.
Requires the settings:write permission.
Body parameters
fileNamestringrequiredThe file's name, including its extension.
accesspublic | privaterequiredWhether the uploaded file is served from a public URL or kept private and reachable only through signed links.
sizeBytesintegerSize of the file in bytes, if you know it up front.
contentTypestringThe file's MIME type, such as image/jpeg. The upload is stored and served as this type, whatever the upload request itself says. A file that is not an image or a video is served as a download.
Request
Request
Request
Request
Response
Response schema