# post\_count של משתמש הוא אפס ב-webhook עבור משתמש שיש לו פוסטים

**URL:** <https://meta.discourse.org/t/user-post-count-is-zero-in-webhook-for-a-user-that-has-posts/267574>\
**Category:** Development\
**Tags:** webhooks\
**Created:** [7 ביוני,‏ 2023,‏ 7:28pm UTC](https://meta.discourse.org/t/user-post-count-is-zero-in-webhook-for-a-user-that-has-posts/267574 "2023-06-07T19:28:02Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [8 ביוני,‏ 2023,‏ 11:47am UTC](https://meta.discourse.org/t/user-post-count-is-zero-in-webhook-for-a-user-that-has-posts/267574/3 "2023-06-08T11:47:14Z")

</div>

Hi @dpb,

I tested, and the post count isn’t updated in real-time.

~~My guess is that there’s a Sidekiq job that takes care of that periodically, but I don’t know which one.~~  
It doesn’t seem there’s a specific related Sidekiq job 🤔  
But I read that this stat is updated at least once a day.

A GET request to [https://your-discourse.org/u/username.json](https://your-discourse.org/u/username.json) will return the right number, though.

If you want a reliable number, make such a request after receiving the webhook payload.

---

_[View the full topic](https://meta.discourse.org/t/user-post-count-is-zero-in-webhook-for-a-user-that-has-posts/267574)._
