REST API over HTTPS. Base URL: https://upload.montageloft.com. Authenticate with Authorization: Bearer <token> (create tokens in the dashboard).
| Request | Description |
|---|---|
POST/v1/uploads | Create an upload session → upload_id, part_size, expires_at |
PUT/v1/uploads/{upload_id}/parts/{n} | Upload part n (8–64 MB; the last part may be smaller) |
POST/v1/uploads/{upload_id}/complete | Finalize the upload after the last part |
POST/v1/jobs | Start processing: {"upload_id": ..., "preset": "web-1080p"} |
GET/v1/jobs/{job_id} | Job status: queued, processing, done, failed |
GET/v1/jobs/{job_id}/output | Signed download URL of the result |
curl -X POST https://upload.montageloft.com/v1/uploads \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "example.bin", "size": 5368709120}'Response 201 Created:
{
"upload_id": "33e74d02f6724f8cf59c",
"part_size": 67108864,
"expires_at": "2026-11-23T12:00:00Z"
}| HTTP | Code | Meaning |
|---|---|---|
| 400 | invalid_request | Malformed JSON or a missing field |
| 401 | unauthorized | Missing or invalid API token |
| 403 | forbidden | The token has no access to this resource |
| 404 | not_found | Unknown id |
| 409 | conflict | The upload is already finalized |
| 413 | too_large | File exceeds your plan limit |
| 429 | rate_limited | Too many requests, see Retry-After |
| 503 | unavailable | Temporary, retry with back-off |
Add an HTTPS endpoint in the dashboard. We send a JSON POST for these events: upload.completed, job.started, job.done, job.failed. Each request carries X-Signature: sha256=… — an HMAC of the body with your webhook secret. Reply with any 2xx.
| Preset | Output |
|---|---|
web-1080p | MP4 H.264 1080p, 6 Mbit/s, AAC 160k |
web-720p | MP4 H.264 720p, 3 Mbit/s |
mobile-480p | MP4 H.264 480p, 1.2 Mbit/s |
social-vertical | MP4 H.264 1080×1920 for Reels/Shorts |
hls-adaptive | HLS fMP4, 6 renditions 240p–1080p |
av1-archive | MKV AV1 + Opus, CRF 30 |
prores-master | MOV ProRes 422 HQ |
audio-only | M4A AAC 192k |