Skip to main content
POST
/
imagehost
/
upload
ImageHost Upload
curl --request POST \
  --url https://haunt.gg/api/imagehost/upload \
  --header 'Content-Type: multipart/form-data' \
  --form 'key=<string>' \
  --form file=@example-file
{
  "status": "success",
  "url": "https://carti.pics/v82AUOld"
}

Body

multipart/form-data
key
string
required

Your ImageHost API key (found in your dashboard)

file
file
required

The image file to upload

Response

Image uploaded successfully

status
enum<string>
required

Response status

Available options:
success
url
string<uri>
required

URL of the uploaded image

Example:

"https://carti.pics/v82AUOld"