Analytics

Get post analytics timeline

Changed on

Returns a daily timeline of analytics metrics for a specific post, showing how impressions, likes, and other metrics evolved day-by-day since publishing. Each row represents one day of data per platform. For multi-platform Zernio posts, returns separate rows for each platform. Requires the Analytics add-on.

get/v1/analytics/post-timeline

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/analytics/post-timeline
  • Auth: HTTP bearer

Query parameters

postIdstring required

The post to fetch timeline for. Accepts an ExternalPost ID, a platformPostId, or a Zernio Post ID.

fromDatestring date-time

Start of date range (ISO 8601). Defaults to 90 days ago.

toDatestring date-time

End of date range (ISO 8601). Defaults to now.

Response

Daily analytics timeline

postIdstring

The postId that was requested

Changes

    • breaking

      the response property // became nullable for the status

    • warning

      added the new account enum value to the / response property for the response status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status