Upload a short-lived file (auto-deleted ~24h after upload).
post/files
Response
File uploaded
content_lengthinteger required
Size of the uploaded payload in bytes.
content_typestring required
MIME type as reported by the client.
created_atstring date-time required
Time the file was uploaded.
expires_atstring date-time required
Advisory expiration (~24h after upload). Object deletion is performed by
storage lifecycle and may lag this timestamp by up to a day. Treat HTTP
404 from url as "expired".
namestring required
Original filename (sanitized — slashes / control characters replaced).
urlstring required
Public URL where the file can be downloaded until it expires.