Skip to main content
POST
Create link

Authorizations

Authorization
string
header
required

An API key from the dashboard, such as sk_live_…. It acts in its workspace.

Path Parameters

document_id
string
required

Body

application/json
alias
string

An alias, such as latest; latest when neither this nor version is given.

autoplay
boolean | null

Start playing as soon as the page opens.

controls
boolean | null

Show the player's controls.

expires_at
string | null

When the link stops working, as an RFC 3339 time; never when absent.

name
string | null

A name people recognize it by, such as "For Acme's review".

password
string | null

A password viewers enter before it plays, 4 to 128 characters; anyone with the link watches without one.

version
integer<uint64>

A version, by number.

Required range: x >= 0

Response

OK

version
integer<uint64>
required

A version, by number.

Required range: x >= 0
autoplay
boolean
required

Whether the video starts playing when the page opens.

controls
boolean
required

Whether the player shows its controls.

created_at
string
required

RFC 3339.

created_by
string
required

The API key or member that created it.

document_id
string
required

The document it plays.

embed_url
string
required

The page to put in an iframe.

id
string
required

lnk_….

password_protected
boolean
required

Whether viewers need a password to watch it. The password itself is never shown.

project_id
string
required

The document's project.

url
string
required

The view page.

expires_at
string | null

RFC 3339.

name
string | null

A name people recognize it by; absent when it has none.

revoked_at
string | null

RFC 3339.