API Reference
Deploy files (lazy-init: creates project automatically if needed)
The primary deploy endpoint. Authenticates with an sk_live_ API token. Automatically creates the project if project_slug does not exist.
Authorization
API Token Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://loading/v1/deployments" \ -H "Content-Type: application/json" \ -d '{ "type": "static_file", "files": [ { "path": "index.html", "content": "string" } ] }'{
"id": "dep_abc123",
"url": "https://weekly-report.deplo.sh",
"version": 3,
"size_bytes": 4096,
"expires_at": "2026-04-07T12:00:00.000Z"
}Empty
Empty
Empty
Empty
Empty