---
title: "Post tracking completed event"
method: POST
path: "post.tracking_completed"
tags: ["Webhook Events"]
---

# Post tracking completed event

`POST post.tracking_completed` (webhook)

Fired once when a post's tracking window ends and its final analytics read has
run. `final` carries the closing metrics, or null when none could be read, and
`window.completionReason` is `final_read`, `unreachable` or `post_deleted`.

## Payload

- WebhookPayloadPostTrackingCompleted: Webhook payload for `post.tracking_completed`. Fired once when a post's tracking window ends and its final analytics read has run. `final` holds the closing metrics, or null when no sample could be read. `window.completionReason` says how the window closed: - `final_read`: the read succeeded. - `unreachable`: the sync failed or no sample exists. - `post_deleted`: the post is gone from the platform; `final` is then the last sample we held, if any.
  - `id` string, required: Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
  - `profiles` object[]: The profiles this event belongs to, each with the externalId you set on it (null when none is set). Use it to route the event to your tenant without storing Zernio profile ids. Present on every event tied to a profile, absent on events that belong to none. Events spanning several profiles (a post published to accounts of different profiles) list each once.
    - `id` string, required
    - `externalId` string, nullable, required
  - `test` boolean: Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
  - `event` 'post.tracking_completed', required
  - `post` object, required
    - `id` string, required: Zernio's id for the tracked post
    - `platform` string, required
    - `platformPostId` string, required: The post's id on the platform
    - `accountId` string, required: The connected account the post belongs to
    - `profileId` string, required: The profile that account belongs to
  - `window` object, required
    - `id` string, required
    - `startsAt` string, date-time, required
    - `endsAt` string, date-time, required
    - `finalReadAt` string, date-time, required
    - `completionReason` 'final_read' | 'unreachable' | 'post_deleted', required
  - `final` object, nullable, required: The closing metrics, or null when none could be read.
    - `views` integer, required
    - `likes` integer, required
    - `comments` integer, required
    - `shares` integer, required
    - `saves` integer, required
    - `syncedAt` string, date-time, 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.dev/zernio/apis/zernio-api.md) - [All operations](https://skmtc.dev/zernio/apis/zernio-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zernio/apis/zernio-api/revisions/c319eb5d95b6?raw)
