Skip to main content

Get a presigned URL for direct file upload to cloud storage

POST 

/v2/:media_type/upload-url

Returns a signed URL that allows the client to upload a file directly to Google Cloud Storage via HTTP PUT. This avoids sending the file through the backend, eliminating upload timeouts for large files.

Flow:

  1. Call this endpoint to get a signed upload URL
  2. PUT the file directly to the signed URL with the required headers
  3. Call the regular POST /v2/videos or /v2/audios endpoint with the returned public_url

Request

Responses

Successful Response