Accounts

List posts published on the platform

Changed on

Returns the 25 most recent posts that exist on the platform for a connected account, read live from the platform API. This covers everything on the account, including posts that were never created through Zernio.

Use it to obtain the platform's own post id, which the analytics endpoints take as input. On YouTube the returned id is the video ID that GET /v1/analytics/youtube/daily-views, /video-retention and /demographics expect as videoId, so this endpoint is what backs a video picker in your own UI.

Not every field applies to every platform: reactionCount is Facebook and LinkedIn, shareCount is platform dependent, cid is the Bluesky content id needed to reply, and subreddit is Reddit only. Absent fields are omitted from the response.

The account's token is refreshed before the call when it has expired. When the refresh cannot recover it, the response is a 401 with code TOKEN_EXPIRED and the account has to be reconnected.

get/v1/accounts/{accountId}/posts

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/accounts/{accountId}/posts
  • Auth: HTTP bearer

Path parameters

accountIdstring required

Response

Posts list

status'success'
lastUpdatedstring date-time

Changes

    • warning

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

    • warning

      added the new account enum value to the / response property for the response 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

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status