---
title: "Create a safelisting license"
method: POST
path: "/v0/safelisting/licenses"
tags: ["Safelisting"]
---

# Create a safelisting license

`POST /v0/safelisting/licenses`

Create a new safelisting license for a channel or video. The `X-Partner-User-Id` header is required to scope the license to a specific end user.

## Request body

- CreateSafelistingLicenseRequest
  - `asset` SafelistingAssetRequest, required
    - `type` 'channel' | 'video', required
    - `platform` 'youtube' | 'instagram' | 'facebook' | 'twitch' | 'tiktok' | 'podcast' | 'website', required
    - `url` string, required
  - `expiresAt` string

## Response `201`

Created license

- SafelistingLicenseResponse
  - `id` string, required
  - `createdAt` string, required
  - `expiresAt` string
  - `asset` SafelistingAssetResponse, required
    - `id` string, required
    - `type` 'channel' | 'video', required
    - `platform` 'youtube' | 'instagram' | 'facebook' | 'twitch' | 'tiktok' | 'podcast' | 'website', required
    - `url` string, required

## Other responses

- `400` — Bad request.
- `401` — Unauthorized. Most likely your access token has expired.
- `403` — Workspace does not have safelisting entitlement
- `409` — Asset already safelisted by another user in this workspace
- `429` — Rate limit exceeded.

---

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