Base URL: https://assets.dokangold.com
Check server health status
curl https://assets.dokangold.com/health
{"status":"OK","timestamp":"2025-09-16T23:31:29.514Z","uptime":123.45}
Get server configuration and limits
Headers: X-API-Key: your-api-key
curl -H "X-API-Key: your-api-key" https://assets.dokangold.com/api/upload/info
Upload a single image file
Headers: X-API-Key: your-api-key
Body: multipart/form-data with image field
curl -X POST \ -H "X-API-Key: your-api-key" \ -F "[email protected]" \ https://assets.dokangold.com/api/upload/single
Upload multiple image files (max 5)
Headers: X-API-Key: your-api-key
Body: multipart/form-data with images field
curl -X POST \ -H "X-API-Key: your-api-key" \ -F "[email protected]" \ -F "[email protected]" \ https://assets.dokangold.com/api/upload/multiple
Get information about an uploaded file
Headers: X-API-Key: your-api-key
curl -H "X-API-Key: your-api-key" \ https://assets.dokangold.com/api/upload/file/1640995200000_a1b2c3d4.jpg
Delete an uploaded file and its thumbnails
Headers: X-API-Key: your-api-key
Body: {"confirm": "true"}
curl -X DELETE \
-H "X-API-Key: your-api-key" \
-H "Content-Type: application/json" \
-d '{"confirm": "true"}' \
https://assets.dokangold.com/api/upload/filename.jpg
Uploaded files are accessible at:
/uploads/filename.jpg/uploads/thumbnails/filename_150x150.webpAll API endpoints require authentication via X-API-Key header.
Rate Limit: 100 requests per 15 minutes per IP