cURL
curl --request POST \ --url https://app.demand-iq.com/api/images/upload \ --header 'Content-Type: multipart/form-data' \ --cookie session= \ --form file='@example-file'
{}
Uploads and optimizes an image (max 1920px width, JPEG quality 85). Returns the S3 key and a presigned URL.
Session cookie obtained from POST /api/auth/login.
POST /api/auth/login
Image file (PNG, JPG, or WebP; max 10 MB)
Uploaded image metadata
Show child attributes