Open a tracking window
Starts watching a post's views and engagement.
Zernio fetches the numbers from the platform itself on its regular analytics sync, so every reading is verified. It is a value we read from the platform, never one the creator or the caller reported.
Authentication
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Body
application/jsonOptional parameters5 fields
Id of an external post. Required unless accountId and url are both sent.
Connected account the post belongs to. Send together with url.
Public URL of the post on the platform. Send together with accountId.
30How many days the window stays open.
apiFree-form label for who asked for the window. It is stored and returned as given.
Responses
Success· the request worked
Errors· the request failed
How it behaves
The window
- Runs for
trackingDays(30 by default, 90 at most). - Ends with one final read, after which the
post.tracking_completedwebhook fires.
Identifying the post
Send either postId (an external post id from Zernio), or accountId together with the post's url.
Responses
201: a new window was opened.200: the post is already tracked; the existing window is returned.
List tracking windows
Lists the tracking windows you can see, newest first. Each window carries the latest verified numbers we read from the platform.
Run a Google Analytics (GA4) realtime report
Activity on a connected GA4 property in the last 30 minutes (up to 60 for Analytics 360), through Google's `runRealtimeReport`. Not cached. Only realtime dimensions and metrics are accepted, e.g. `country`, `unifiedScreenName` with `activeUsers`.