# Webhooks: how best to differentiate a PM from a public post

**URL:** <https://meta.discourse.org/t/webhooks-how-best-to-differentiate-a-pm-from-a-public-post/76363>\
**Category:** Development\
**Tags:** webhooks\
**Created:** [18 Diciembre, 2017 23:52 UTC](https://meta.discourse.org/t/webhooks-how-best-to-differentiate-a-pm-from-a-public-post/76363 "2017-12-18T23:52:31Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![surety](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/surety/32/156849_2.png) [@surety](https://meta.discourse.org/u/surety)\
**Post date:** [24 Septiembre, 2019 23:48 UTC](https://meta.discourse.org/t/webhooks-how-best-to-differentiate-a-pm-from-a-public-post/76363/14 "2019-09-24T23:48:19Z")

</div>

PR enviado. Se agregó el arquetipo de tema y el slug de la categoría.

> <https://github.com/discourse/discourse/pull/8110>
>
> Adds additional fields topic\_archetype and category\_slug to the post
> webhook so… that handlers have some context about the post event without
> having to call back to the API.
> 
> Discussed \[here\](https://meta.discourse.org/t/webhooks-how-best-to-differentiate-a-pm-from-a-public-post/76363/13).

---

_[View the full topic](https://meta.discourse.org/t/webhooks-how-best-to-differentiate-a-pm-from-a-public-post/76363)._
