Upload API Docs

Endpoint for creating a stream link from an audio file. Files are stored permanently.

Endpoint: POST https://streamables-cloudflare.pages.dev/upload

Content Types: multipart/form-data or raw body bytes

Limit: 25 MB

Rate Limit: 10 uploads per hour per client IP

Protection: protected=true (default) disables direct download and raw access. Set protected=false to allow.

Success Response:

{
  "success": true,
  "id": "uuid",
  "url": "https://streamables-cloudflare.pages.dev/stream/uuid",
  "streamUrl": "https://streamables-cloudflare.pages.dev/stream/uuid",
  "path": "/stream/uuid",
  "protected": true
}

curl

curl -X POST -F "file=@song.mp3" -F "protected=false" https://streamables-cloudflare.pages.dev/upload

Download (Unprotected Only)

https://streamables-cloudflare.pages.dev/stream/uuid?download

Raw Stream (Unprotected Only)

https://streamables-cloudflare.pages.dev/stream/uuid?raw