---
title: "Video views milestone"
method: POST
path: "video.views_milestone"
tags: ["Webhook Events"]
---

# Video views milestone

`POST video.views_milestone` (webhook)

A tracked video passed a view milestone (10,000, 50,000, 100,000, 250,000, 500,000, 1,000,000, 5,000,000, 10,000,000), as the synced data shows it. One event per milestone; a video that jumps past several between syncs reports each. Videos first seen above a milestone (a newly tracked account's history) never report it. Opt-in: endpoints subscribed to all events (`*`) do not receive it; subscribe to it by name.

## Headers

- `webhook-id` string, required
- `webhook-timestamp` string, required
- `webhook-signature` string, required

## Payload

- VideoViewsMilestoneWebhookEvent: A tracked video passed a view milestone (10,000, 50,000, 100,000, 250,000, 500,000, 1,000,000, 5,000,000, 10,000,000), as the synced data shows it. One event per milestone; a video that jumps past several between syncs reports each. Videos first seen above a milestone (a newly tracked account's history) never report it. Opt-in: endpoints subscribed to all events (`*`) do not receive it; subscribe to it by name.
  - `id` string, required: Event id; the `webhook-id` header. The same on every retry: dedupe on it.
  - `type` 'video.views_milestone', required
  - `timestamp` string, date-time, required: When the change happened
  - `organizationId` string, required
  - `actor` WebhookActor, required: Who caused the event: a member (`user`), an API key (`apiKeyId`), a creator, or viral.app itself (`system`); `surface` says where the change entered. Skip events your own API key caused to avoid loops.
    - `type` 'user' | 'api_key' | 'creator' | 'system', required
    - `surface` 'ui' | 'api' | 'copilot' | 'system', required
    - `userId` string, nullable, required
    - `apiKeyId` string, nullable, required
    - `impersonated` boolean, required
  - `data` object, required
    - `video` WebhookTrackedVideoRef, required
      - `platform` 'facebook' | 'instagram' | 'tiktok' | 'youtube' | 'snapchat', required
      - `platformVideoId` string, required
      - `url` string, nullable, required
      - `thumbnailUrl` string, required
      - `publishedAt` string, date-time, required
    - `account` WebhookTrackedAccount, required
      - `id` string, required
      - `platform` 'facebook' | 'instagram' | 'tiktok' | 'youtube' | 'snapchat', required
      - `platformAccountId` string, required
      - `username` string, nullable, required
      - `isCompetitor` boolean, required
    - `milestone` integer, required
    - `viewCount` integer, required
    - `previousViewCount` integer, required
    - `observedAt` string, date-time, required

## Acknowledgement `200`

Any 2xx within 15 seconds acknowledges the event. Anything else, a timeout or a redirect is retried (10 attempts over about 3 days); 410 disables the endpoint.

---

[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)
