---
title: "Video posted"
method: POST
path: "video.published"
tags: ["Webhook Events"]
---

# Video posted

`POST video.published` (webhook)

A tracked account posted a new video, seen in the next sync. Only videos published after your organization started tracking the account are reported, never older ones a first sync or a larger video limit brings in. 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

- VideoPublishedWebhookEvent: A tracked account posted a new video, seen in the next sync. Only videos published after your organization started tracking the account are reported, never older ones a first sync or a larger video limit brings in. 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.published', 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` WebhookTrackedVideo, required
      - `platform` 'facebook' | 'instagram' | 'tiktok' | 'youtube' | 'snapchat', required
      - `platformVideoId` string, required
      - `url` string, nullable, required
      - `thumbnailUrl` string, required
      - `publishedAt` string, date-time, required
      - `caption` string, nullable, required
      - `contentType` 'video' | 'slideshow', nullable, required
      - `viewCount` integer, nullable, required
      - `likeCount` integer, nullable, required
      - `commentCount` integer, nullable, required
      - `shareCount` integer, nullable, required
    - `account` WebhookTrackedAccount, required
      - `id` string, required
      - `platform` 'facebook' | 'instagram' | 'tiktok' | 'youtube' | 'snapchat', required
      - `platformAccountId` string, required
      - `username` string, nullable, required
      - `isCompetitor` boolean, 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)
