---
title: "License videos"
method: POST
path: "/v2/videos/licenses"
tags: ["videos"]
---

# License videos

`POST /v2/videos/licenses`

This endpoint gets licenses for one or more videos. You must specify the video IDs in the body parameter and the size and subscription ID either in the query parameter or with each video ID in the body parameter. Values in the body parameter override values in the query parameters. The download links in the response are valid for 8 hours.

## Query parameters

- `subscription_id` string
- `size` 'web' | 'sd' | 'hd' | '4k'
- `search_id` string

## Request body

- object — List of videos to license
  - `videos` object[], required — Videos to license
    - `auth_cookie` object — Cookie object
      - `name` string, required — The name of the cookie
      - `value` string, required — The value of the cookie
    - `editorial_acknowledgement` boolean — Whether or not this item is editorial content
    - `metadata` object — Additional information for license requests for enterprise accounts and API subscriptions, 4 fields maximum; which fields are required is set by the account holder
    - `price` number — Retail price amount as a floating-point number in the transaction currency, such as 12.34; only for rev-share partners
    - `search_id` string — ID of the search that led to this licensing event
    - `show_modal` boolean — (Deprecated)
    - `size` 'web' | 'sd' | 'hd' | '4k' — Size of the video being licensed
    - `subscription_id` string — ID of the subscription used for this license
    - `video_id` string, required — ID of the video being licensed

## Response `200`

OK

- object — List of video license results
  - `data` object[] — License results
    - `allotment_charge` integer — Number of credits that this licensing event used
    - `download` object — URL object
      - `url` string, required — URL that can be used to download the unwatermarked, licensed asset
    - `license_id` string — ID of the license event
    - `error` string — Potential error that occurred during licensing
    - `price` object — Wholesale price information; only for rev-share partners only
      - `local_amount` number — Floating-point amount of the calculated rev-share price in the currency local_currency
      - `local_currency` string — Currency of the rev-share price that was calculated
    - `video_id` string, required — ID of the video that was licensed
  - `errors` object[] — Error list; appears only if there was an error
    - `code` string — The error code of this error
    - `data` string — Debugging information about the error
    - `items` object[] — A list of items that produced the error
    - `message` string, required — Specific details about this error
    - `path` string — Internal code reference to the source of the error
  - `message` string — Server-generated message, if any
  - `page` integer — Current page that is returned
  - `per_page` integer — Number of results per page
  - `total_count` integer — Total count of all results across all pages

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/shutterstock/apis/shutterstock-api-explorer.md) · [All operations](https://skmtc.net/shutterstock/apis/shutterstock-api-explorer/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/shutterstock/shutterstock-api-explorer/versions/d2e03e7f655d/schema)
