Create Shareable Asset
Create a shareable asset. Public assets (the default) are viewable by anyone with the link; private assets are restricted to members of the owning account and stream via a signed, token-gated playback url. A file (or file segment) can have at most one active share per visibility — one public and one private — each with its own stable URL; creating a second of the same visibility returns 409.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Shareable asset creation request parameters
The ID of the file the shareable asset will be created for
The ID of the file segment the shareable asset will be created for. When provided, the shareable asset will be created for the file segment.
The title of the shareable asset
The description of the shareable asset
The metadata of the shareable asset
Visibility of the shareable asset. Defaults to 'public'. 'private' restricts the share page to members of the owning account and serves a signed, token-gated stream. Cannot be changed after creation.
public, private Response
Shareable asset created successfully
The unique identifier of the shareable asset
The ID of the file the shareable asset belongs to
The timestamp of when the shareable asset was created
The ID of the file segment the shareable asset belongs to (optional)
The title of the shareable asset
The description of the shareable asset
The metadata of the shareable asset
The visibility of the shareable asset. 'public' assets are viewable by anyone with the link; 'private' assets are restricted to members of the owning account and stream via a signed, token-gated playback url.
public, private The thumbnail url of the shareable asset
The signed media download url of the shareable asset. For private assets this url is short-lived (a few minutes) and should be used promptly.
The timestamp of when the media download url will expire
This is the url that can be used to share the shareable asset. For private assets the page requires sign-in and membership of the owning account.
The HLS stream url of the shareable asset. Available when the stream has finished processing. For private assets this is a signed, token-gated url that should be treated as short-lived.
The status of the shareable asset
pending, processing, completed, failed The type of asset the shareable asset belongs to
file, file_segment Object type, always 'share'
share