---
title: "External post updated event"
method: POST
path: "post.external.updated"
tags: ["Webhook Events"]
---

# External post updated event

`POST post.external.updated` (webhook)

Fired when a tracked native post's text or media changed on the platform.
Detected by comparing text/media structure and, where available, the
platform's own edit timestamp; a media-URL-only refresh does not fire this.

## Payload

- WebhookPayloadExternalPost — Webhook payload for post.external.created / post.external.updated / post.external.deleted. Fired by Zernio's background sync when it detects a natively-authored post (e.g. a Google Business Profile localPost created in the Google UI), NOT a post published through Zernio. Poll-driven (~hourly), not real-time. On post.external.deleted, post.deletedAt is populated.
  - `id` string, required — Stable webhook event ID
  - `event` 'post.external.created' | 'post.external.updated' | 'post.external.deleted', required
  - `post` ExternalPostWebhookPost, required — Native (external) post data shared by all post.external.* payloads.
    - `id` string, required — Platform-native post ID (NOT a Zernio post ID).
    - `platform` string, required — Platform the post lives on (e.g. "googlebusiness").
    - `accountId` string, required — Zernio social account ID the post belongs to.
    - `url` string, nullable, required — Direct URL to the post on the platform, when available.
    - `content` string, required — Post text. May be empty.
    - `mediaType` string, required — One of image, video, gif, document, text, carousel.
    - `mediaItems` ExternalPostMediaItem[], required
      - `type` 'image' | 'video', required
      - `url` string, nullable, required — 'Direct URL to the media file. Null when the platform withholds it: check mediaStatus before downloading. Instagram omits the video file for Reels it flags as containing copyrighted material (its docs name audio as the usual cause), so type stays "video" while the file is permanently unreachable.'
      - `thumbnail` string — Cover image. Still present when url is null.
      - `mediaStatus` 'unavailable' — Present only when the media file could not be retrieved. Absent means the file is available at url.
      - `unavailableReason` 'platform_withheld' — Why the file is missing. platform_withheld means the platform declined to return it and retrying will not help.
    - `thumbnailUrl` string, nullable, required
    - `publishedAt` string, date-time, required
    - `source` 'external', required — Always "external" — distinguishes these from Zernio-originated post.* events.
    - `deletedAt` string, date-time, nullable — Detection time of deletion. Present on post.external.deleted; null/absent otherwise.
  - `account` object, required
    - `id` string, required
    - `accountId` string — Social account ID (same as id); canonical field for account filtering.
    - `platform` string, required
    - `username` string, required
  - `timestamp` string, date-time, required — UTC time at which Zernio generated this event (set once when the event payload is built, before delivery is queued). Retries and redeliveries keep the original value, so it reflects the event, not the delivery attempt.

## Acknowledgement `200`

Webhook received successfully

---

[API](https://skmtc.net/zernio/apis/zernio-api.md) · [All operations](https://skmtc.net/zernio/apis/zernio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zernio/zernio-api/revisions/0942091eaa8c/schema)
