LynCutLynCut

Publishing API

Create upload intent

Reserve a resumable upload for a finished export. Returns an upload URL and a mediaKey used when creating the publish job.

POST/v1/publishing/upload-intents

Body parameters

fileName
stringrequired
Original file name, e.g. teaser-final.mp4.
sizeBytes
integerrequired
Total size of the file in bytes.
mimeType
stringrequired
MIME type of the upload, e.g. video/mp4.
checksumSha256
string
Optional SHA-256 for end-to-end integrity verification.

Request

curl -X POST "https://api.lyncut.com/v1/publishing/upload-intents" \
  -H "x-lyncut-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"fileName":"teaser-final.mp4","sizeBytes":184238132,"mimeType":"video/mp4"}'

Response

{
  "data": {
    "mediaKey": "upl_77kd",
    "uploadUrl": "https://uploads.lyncut.com/upl_77kd?signature=...",
    "chunkSizeBytes": 8388608,
    "expiresAt": "2026-09-23T16:30:00.000Z"
  }
}

Was this page helpful?