Skip to main content
POST
/
v1
/
images
/
upload
Upload image asset
curl --request POST \
  --url https://api.apiany.ai/v1/images/upload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "url": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
file
file
required

Response

200 - application/json

Uploaded asset URL.

url
string<uri>
required