API Documentation
Complete guide to integrate Shinai CDN & URL Shortener into your application
https://shinai.my.id
Alternative
https://shinai.onrender.com
Recommended
CDN Upload
/api/4/cdn
URL Shortener
/api/4/short
curl -X POST https://shinai.onrender.com/api/4/short \
-H "x-api-key: sazukaxcmv" \
-H "Content-Type: application/json" \
-d '{"url":"https://google.com"}'
curl -X POST https://shinai.onrender.com/api/4/short \
-H "x-api-key: sazukaxcmv" \
-H "Content-Type: application/json" \
-d '{"url":"https://google.com", "customId": "optional-custom-id"}'
curl -X POST https://shinai.onrender.com/api/4/cdn \
-H "x-api-key: sazukaxcmv" \
-F "file=@awwhh.jpg"
API Key Header
x-api-key: sazukaxcmv
Include this header in all your API requests
{
"status": "success",
"url": "https://shinai.onrender.com/files/filename.jpg",
"filename": "filename.jpg",
"size": "2.5MB"
}
{
"status": "success",
"shortUrl": "https://shinai.onrender.com/abc123",
"id": "abc123",
"originalUrl": "https://google.com"
}
2025 Shinai
Made with by Sazuka