List commented posts
Returns posts with their comment counts across the connected Instagram, Facebook, Threads, and TikTok accounts the key can reach, including posts published outside PostZen. Use a post's id with its accountId on GET /v1/inbox/comments/{postId} to read its comments.
Read-through: on a request without cursor, each in-scope account whose stored post list is older than 5 minutes is refreshed from the platform (its newest 50 posts), at most 10 accounts per request, stalest first and 3 at a time; the rest are answered from stored posts and refresh on a later request. Requests with cursor read stored posts only. A refresh failure does not fail the request: the account appears in meta.failedAccounts and its stored posts are still returned. Accounts that need reauthorization are reported there with code connection_dead and are not refreshed.
TikTok covers accounts connected through the TikTok for Business app only (connectionLane: business on the account). Other TikTok accounts are never queried and are listed in meta.accountsSkipped.
commentCount is the count the platform reported at the last refresh: Instagram comments_count, the Facebook post's comment summary total, and the TikTok video's comments. Threads lists posts without a count, so PostZen reads it separately: each refresh fetches the replies insight (the post's total replies) for the account's 25 newest Threads posts, and a post that has dropped out of the newest 25 keeps the last count read for it, which can be out of date. A Threads post omits commentCount when no count has been read for it: reposts, posts that were already older than the newest 25 when the account was first refreshed and have had no new reply since, posts Threads keeps no insights for, and every post on an account connected without the threads_manage_insights permission. A count that cannot be read does not fail the refresh and is not reported in meta.failedAccounts. A post without commentCount sorts after every counted post under sortBy=comments (desc) and never matches minComments, so treat a missing count as unknown, not zero. likeCount comes from the same refresh: Instagram like_count (omitted when the owner hid like counts), the Facebook post's Like total (Like reactions only), and the TikTok video's likes. Threads posts omit likeCount.
Pagination: sortBy=date pages in a stable order (createdTime, ties broken by when PostZen first stored the post) in either sortOrder. minComments is applied to each date-sorted page after pagination, so a page can hold fewer than limit posts, or none, while hasMore is true. sortBy=comments pages by the stored count, ties broken by createdTime, and applies minComments before pagination; with since, a page stops after scanning 1,000 stored posts and can come back short while hasMore is true. A count that changes between page requests can move a post to another page. hasMore can be true on the last page, in which case the next page is empty. A cursor is valid only with the sortBy and sortOrder it was issued for. Read-only and read-write API keys are accepted.
Authorization
bearerAuth PostZen API key.
In: header
Query Parameters
Restrict the read to accounts on one profile.
Restrict the read to one platform.
Restrict the read to one connected account. An account on a platform the inbox does not cover returns 400 platformUnsupported.
Only posts whose stored commentCount is at least this. Posts without a count never match.
Only posts created after this time. A bare date is midnight UTC.
Order by createdTime (date) or by stored commentCount (comments).
Sort direction.
Page size.
Opaque pagination cursor. Pass pagination.nextCursor from the previous response with the same sortBy and sortOrder.
summary omits picture and cuts content to 280 characters, marking a cut caption with contentTruncated: true.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/inbox/comments"{ "data": [ { "id": "17895695668004550", "platform": "instagram", "accountId": "k17d8s9f0a1b2c3d4e5f6g7h8i", "accountUsername": "postzenhq", "content": "Three ways to batch a week of posts in one sitting.", "picture": "https://scontent.cdninstagram.com/v/t51.2885-15/post.jpg", "permalink": "https://www.instagram.com/p/CxYzAbCdEfG/", "createdTime": "2026-11-10T16:04:12.000Z", "commentCount": 14 } ], "pagination": { "hasMore": true, "nextCursor": "dd:[1762790652000,1762790700123.4,\"j57a...\"]" }, "meta": { "accountsQueried": 3, "accountsFailed": 1, "failedAccounts": [ { "accountId": "k27e9t0g1b2c3d4e5f6g7h8i9j", "accountUsername": "@postzen", "platform": "tiktok", "error": "TikTok rate limit reached for this account.", "code": "40100", "retryAfter": 30 } ], "lastUpdated": "2026-11-12T09:15:00.000Z", "accountsSkipped": [ { "accountId": "k37f0u1h2c3d4e5f6g7h8i9j0k", "platform": "tiktok" } ] }}{ "error": "The inbox supports Instagram, Facebook, Threads and TikTok accounts only.", "code": "platformUnsupported", "platform": "linkedin"}{ "error": "Unauthorized"}{ "error": "That account is outside this key’s profile access.", "code": "forbidden"}{ "error": "That account could not be found.", "code": "accountNotFound"}{ "error": "This connection needs to be reauthorized before its comments can be read.", "code": "connectionDead"}{ "error": "rate_limited", "retryAfter": 30}{ "error": "Failed to create post"}List reactions on a LinkedIn post GET
Returns the individual reactions LinkedIn holds for a post published through PostZen, plus a per-type count of the returned page. LinkedIn only, and organization (company page) posts only. The post's LinkedIn connection must hold `r_organization_social_feed`, which LinkedIn ships with its Community Management API product. Not available yet: company-page posting is waiting on LinkedIn's approval of PostZen's Community Management API access, and until then this endpoint returns `403 orgScopesDisabled`. A personal (member) post always returns `403 personalPostUnsupported`: reading a member's own comments and reactions needs `r_member_social_feed`, which LinkedIn grants to select developers only. Read-only and read-write API keys are accepted.
List comments on a post GET
Returns the comments the platform holds for one Instagram, Facebook, Threads, or TikTok post, and refreshes PostZen's stored copy of the thread as a side effect. `replies` carries the first page of nested replies when the platform returns them cheaply — `repliesHasMore` says when it did not, and passing that comment's id as `commentId` pages through the rest. Instagram and TikTok threads are only two levels deep, so a reply never carries replies of its own. TikTok returns replies separately: a TikTok comment with `replyCount` above zero has its replies listed through `commentId`. Fields a platform does not report are absent rather than zero: Threads, for example, never reports per-reply like counts. Attachment URLs are expiring platform CDN links, so read the comment again for a fresh one. Read-only and read-write API keys are accepted.