Skip to content

Generate a pre-signed URL to upload a video file

GET
/generate-upload-link
filename
required
string

Name of the file to upload.

Example
test.mp4

Pre-signed upload URL successfully generated.

object
data
object
presigned_url
string format: url
Example
https://kubrick.s3.amazonaws.com/uploads/abc123/example.mp4?signature=xyz
filename
string
Example
test.mp4
file_extension
string
Example
.mp4
expires_in_seconds
integer
Example
3600
upload_method
string
Example
PUT
content_type
string
Example
video/mp4

Bad Request — Invalid or missing parameters.

Error response object.

object
error
object
code
string
Example
INVALID_REQUEST
message
string
Example
Missing query parameters

Internal Server Error — Could not generate upload link.

Error response object.

object
message
string
Example
Internal Server Error