# 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:** 6

<div class="post-metadata">

**Author:** ![dpb](https://avatars.discourse-cdn.com/v4/letter/d/e99b99/32.png) [@dpb](https://meta.discourse.org/u/dpb)\
**Post date:** [8 ביוני,‏ 2023,‏ 4:46pm UTC](https://meta.discourse.org/t/user-post-count-is-zero-in-webhook-for-a-user-that-has-posts/267574/6 "2023-06-08T16:46:10Z")

</div>

Maybe there is a confusion with “topics” and “posts”. I expected that creating a new topic is just a special type of post. The database structure supports that.  
But when checking the user profile statistics, they say something along the lines “2 topics created, 0 posts created”.  
So maybe the “post\_count” that I get is rather the _number of replies to topics_ than the number of all posts?  
On the other hand, there is a date “last\_posted\_at” which contains the date when the last topic was created. So at least, there is some inconsistency in naming here. I would expect the number “post\_count” to include first posts in new topics, as well.

Anyway, whether this is intended behavior or not, I do not find a `topic_count` or alike in the user json. How do I find out the total number of posts, including new topics?

---

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