# Webhook event \`post\_type\`

**URL:** <https://meta.discourse.org/t/webhook-event-post-type/249088>\
**Category:** Product Support\
**Created:** [December 16, 2022, 1:18am UTC](https://meta.discourse.org/t/webhook-event-post-type/249088 "2022-12-16T01:18:01Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![smileBeda](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/smilebeda/32/272497_2.png) [@smileBeda](https://meta.discourse.org/u/smileBeda)\
**Post date:** [February 22, 2023, 5:57am UTC](https://meta.discourse.org/t/webhook-event-post-type/249088/4 "2023-02-22T05:57:26Z")

</div>

@Lucas_Alves … must be so frustrating to just get no instructions, but also to completely miss any doc about it. Like, at least, for _me_ it is frustrating.

Now, since I found your post here which was exactly what _I_ was looking for, let me share how I detect if it is a “comment” (strictly speaking a POST that is a FOLLOW UP of any kind to the TOPIC)

1. the `post_type` is `1`
2. the `post_number` is greater than `1`
3. the `version` is `1`

If you want to specifically get only _replies_ to a specific _other coment_ you could use `reply_to_post_number` (if not empty, that is the post number of the post being replied to)

I hope this helps, and I wish, Discourse would call this object property `comment`, not `post`, just like they call `like` for Like actions!

---

_[View the full topic](https://meta.discourse.org/t/webhook-event-post-type/249088)._
