---
title: "Start the pre-export licensing job for this video's stock refs."
method: POST
path: "/api/v1/videos/{video_id}/edit/license-assets"
tags: ["Stock Media"]
---

# Start the pre-export licensing job for this video's stock refs.

`POST /api/v1/videos/{video_id}/edit/license-assets`

## Request

- Base URL: `https://api.avatarfactory.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.avatarfactory.io/api/v1/videos/{video_id}/edit/license-assets`
- Auth: one of:
  - API key in cookie `session`
  - HTTP bearer

## Path parameters

- `video_id` integer, required: Video id

## Request body

- LicenseAssetsRequest
  - `refs` StockAssetRef[], required
    - `asset_type` 'music' | 'footage', required
    - `provider_asset_id` string, required

## Response `202`

Accepted

- LicenseJobStartResponse
  - `job_id` string, required

## Other responses

- `422`: Unprocessable Entity

---

[API](https://skmtc.dev/avatarfactory/apis/avatarfactory-api.md) · [All operations](https://skmtc.dev/avatarfactory/apis/avatarfactory-api/llms.txt) · [OpenAPI document](https://skmtc.dev/avatarfactory/apis/avatarfactory-api/revisions/66fc7aa3f296?raw)
