Files
POST /files/upload-url
Get a presigned 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. Stored alongside the file so anything displaying it knows what it is.
Request
Request
Request
Request
Response
Response schema