Skip to main content
POST
/
api
/
images
/
upload
Upload an image
curl --request POST \
  --url https://app.demand-iq.com/api/images/upload \
  --header 'Content-Type: multipart/form-data' \
  --cookie session= \
  --form file='@example-file'
{}

Authorizations

session
string
cookie
required

Session cookie obtained from POST /api/auth/login.

Body

multipart/form-data
file
file
required

Image file (PNG, JPG, or WebP; max 10 MB)

Response

Uploaded image metadata

image
object