Skip to main content
POST
Create a video

Authorizations

X-Auth-Token
string
header
required

API key created in the dashboard or via POST /v1/api/api-keys. Keys are prefixed pn_ and do not expire until revoked.

Body

application/json
title
string
required
Example:

"Welcome to the library"

Response

Video created

videoId
string
libraryId
integer

Send as the LibraryId TUS header

uploadUrl
string<uri>
Example:

"string"

signature
string

Send as the AuthorizationSignature TUS header

expiry
integer

Unix time in milliseconds. Send as the AuthorizationExpire TUS header.