Tokens

POST /v1/assets/{asset_id}/preview-token — Issue a time-limited preview token for an asset's preview rendition.

The asset must be active, machine-ready, and have at least one available preview rendition. Returns 404 for missing/cross-tenant assets and 409 when the asset is not eligible or lacks a preview rendition.

post/v1/assets/{asset_id}/preview-token

Request

  • Base URL: https://api.stockfilm.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.stockfilm.com/v1/assets/{asset_id}/preview-token
  • Auth: API key in header Authorization

Path parameters

asset_idstring uuid required

Asset ID

Request body

ttl_minutesinteger nullable

Optional TTL in minutes (default 15).

Response

Preview token issued

asset_idstring uuid required
asset_rendition_idstring uuid required
expires_atstring required
preview_token_idstring uuid required
token_idstring required

Changes

No recorded changes to this operation across all 2 revisions of this API.