Skip to main content

Add original Post ID to analytics response

When creating a post via POST /v1/posts, we receive a Post ID. However, the analytics endpoint returns different IDs for each platform-specific entry, with no way to link them back to the original post.


It would be helpful to include a parentPostId field in the analytics response that references the original Post ID. This would make it easier to match analytics data with posts stored in our system.

Thanks!
Ivan Koop

Status: Completed2 comments

Log in to comment and vote

Comments2

  • Miquel Palet López

    Team•

    Jul 13

    Good news, this is already supported!

    Every analytics entry from GET /v1/analytics (both the list and the ?postId= single-post form) includes a latePostId field equal to the Post _id returned by POST /v1/posts. Match on latePostId to link platform-specific analytics rows back to the original scheduled post. It is null for posts not scheduled through Zernio.

    Details here: docs.zernio.com/analytics/get-analytics. Thanks for the request!

  • Dalek

    •

    Jan 25

    Looks like this got a fast turnaround haha

    https://docs.getlate.dev/changelog