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

# Add excluded videos

`POST /videos/excluded`

## Request

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

Adds videos to the exclusion list so they are hidden from analytics tables. Individually tracked videos are removed from tracking instead of excluded.

## Request body

- object
  - `entries` object[], required
    - `orgAccountId` string, required: Organization account ID with orgacc_ prefix. Not the same as platform account ID.
    - `platform` 'facebook' | 'instagram' | 'tiktok' | 'youtube' | 'snapchat', required: Social media platform (facebook, instagram, tiktok, youtube, snapchat)
    - `platformAccountId` string, required
    - `platformVideoId` string, required

## Response `200`

OK

- object
  - `inserted` number, required
  - `skipped` number, required
  - `deleted` 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)
