Skip to main content

Complete media upload

POST 

/media/:id/complete

Signal that a file upload is finished. Call this after uploading your file to the presigned URL returned by POST /media/upload.

Processing by type:

  • Images — Marked as ready immediately (Cloudflare Images handles optimization)
  • Videos — File verified in storage, thumbnail generated in background, marked as ready
  • Documents (PDF) — File verified in storage, marked as ready

The response includes the final status and a message with next steps.

Request

Responses

Media upload completed