LynCutLynCut

Publishing API

Publishing API

Upload finished exports and publish them to connected social accounts as tracked async jobs.

The Publishing API moves a finished video from your storage to a connected social account. Uploads use resumable intents; publishes run as async jobs you poll or observe through webhooks.

The publishing flow

  • Create an upload intent → receive a resumable upload URL and a mediaKey.
  • PUT the file bytes to the upload URL (chunked, resumable).
  • Create a job with the mediaKey and a target connectionId.
  • Poll GET /v1/publishing/jobs/{id} or wait for your webhookUrl.
  • On FAILED, call retry to resume from the last checkpoint.

Job states

StateMeaning
QUEUEDAccepted and waiting for a worker
UPLOADINGBytes are moving to the provider
PROCESSINGProvider is processing the media
COMPLETEDPublished — response contains the provider URL
FAILEDTerminal error — call retry or inspect errorCode
CANCELLEDCancelled before completion

Was this page helpful?