---
title: "Restore excluded videos"
method: POST
path: "/videos/excluded/restore"
tags: ["Video Analytics"]
---

# Restore excluded videos

`POST /videos/excluded/restore`

## Request

- Base URL: `https://viral.app/api/v1`
- URL: `https://viral.app/api/v1/videos/excluded/restore`
- Auth: API key in header `x-api-key`

Removes the exclusion state of videos by platform identity and restores them to analytics. Covers manual exclusions and exclusions applied by tag workflows.

## Request body

- object
  - `videos` object[], required
    - `platform` 'facebook' | 'instagram' | 'tiktok' | 'youtube' | 'snapchat', required: Social media platform (facebook, instagram, tiktok, youtube, snapchat)
    - `platformVideoId` string, required: Native platform video id found in the URL of the video

## Response `200`

OK

- object
  - `restored` number, required

## Other responses

- `400`: 400
- `401`: 401
- `402`: 402
- `404`: 404
- `408`: 408
- `429`: 429
- `500`: 500

---

[API](https://skmtc.dev/viral/apis/viral-app-api.md) · [All operations](https://skmtc.dev/viral/apis/viral-app-api/llms.txt) · [OpenAPI document](https://skmtc.dev/viral/apis/viral-app-api/revisions/31e97fa79ef1?raw)
