SleekDeploy

Instantly host webpages and files with unique secure links. Secured by deployment keys.

Drag and drop your file here, or browse files

document.pdf (1.2 MB)
Deployment Successful!

Your file has been hosted at the following URL:

Web Render Preview Responsive View
Programmatic API Documentation

Endpoint URL

Deploy programmatically by making POST requests to the API handler:

https://yourdomain.com/api.php

1. Deploy Raw Code/HTML (JSON)

Send raw content directly. The file will be hosted as index.html (or matching extension) in an isolated folder.

curl -X POST https://yourdomain.com/api.php \
  -H "Content-Type: application/json" \
  -d '{
    "key": "deploy123",
    "code": "<h1>Custom Webpage</h1>",
    "extension": "html"
  }'

2. Upload Binary File (Multipart/Form-Data)

Host local files (photos, videos, code files, zip) on the server.

curl -X POST https://yourdomain.com/api.php \
  -F "key=deploy123" \
  -F "file=@/path/to/your/image.png"

Expected Success Response (JSON)

{
  "success": true,
  "message": "Successfully deployed file.",
  "url": "https://yourdomain.com/deploy/12ab34cd56/image.png",
  "filename": "image.png",
  "unique_id": "12ab34cd56",
  "size": 12045
}