# post.tracking_completed

A post's tracking window ended and its final analytics read finished.

### When it fires

Once per window. A cancelled window never fires it.

### Payload notes

`final` holds the closing metrics, or is null when no sample could be read. When the post was deleted, it is the last sample held, if any.

### Completion reasons

`window.completionReason` is `final_read` (the read succeeded), `unreachable` (the sync failed or no sample exists) or `post_deleted` (the post is gone).




**Payload for `post.tracking_completed`:**

- **id** (required) `string`: 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**: `WebhookProfiles` - See schema definition
- **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** (required) `string`: No description - one of: post.tracking_completed
- **post** (required) `object`: 
  - **id** (required) `string`: Zernio's id for the tracked post
  - **platform** (required) `string`: No description (example: "instagram")
  - **platformPostId** (required) `string`: The post's id on the platform
  - **accountId** (required) `string`: The connected account the post belongs to
  - **profileId** (required) `string`: The profile that account belongs to
- **window** (required) `object`: 
  - **id** (required) `string`: No description
  - **startsAt** (required) `string` (date-time): No description
  - **endsAt** (required) `string` (date-time): No description
  - **finalReadAt** (required) `string` (date-time): No description
  - **completionReason** (required) `string`: No description - one of: final_read, unreachable, post_deleted
- **final** (required) `object,null`: The closing metrics, or null when none could be read.
- **timestamp** (required) `string` (date-time): 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.