cURL
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" }
Upload an image file to the image hosting service. Requires your ImageHost API key which can be found in your dashboard.
Your ImageHost API key (found in your dashboard)
The image file to upload
Image uploaded successfully
Response status
success
URL of the uploaded image
"https://carti.pics/v82AUOld"
Was this page helpful?