Skip to main content
POST
Create an upload

Authorizations

Authorization
string
header
required

API key issued by Hooper for your organization. Keys are environment-tagged: hk_prod_ keys work against production, hk_stg_ keys against staging.

Body

application/json
size
integer
required

File size in bytes (max 10 GB).

Example:

2147483648

content_type
enum<string>
default:video/mp4
Available options:
video/mp4,
video/quicktime
filename
string

Response

Upload session created

id
string
Example:

"up_3f9a1c2b7e5d4a08"

object
string
Allowed value: "upload"
upload_url
string

Resumable upload URL. PUT the bytes here.

content_type
string
size
integer
expires_in_seconds
integer
Example:

604800