# كيفية اكتشاف موضوع المسودة عبر webhooks؟

**URL:** <https://meta.discourse.org/t/how-to-detect-draft-topic-via-webhooks/102797>\
**Category:** Product Support\
**Created:** [26 نوفمبر 2018، 6:10م UTC](https://meta.discourse.org/t/how-to-detect-draft-topic-via-webhooks/102797 "2018-11-26T18:10:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [26 نوفمبر 2018، 6:53م UTC](https://meta.discourse.org/t/how-to-detect-draft-topic-via-webhooks/102797/2 "2018-11-26T18:53:12Z")

</div>

When a shared draft is created, the `category_id` will be set to the ID of the shared drafts category. You could try checking the `category_id` and then not publishing the topic if it comes from your shared drafts category.

---

_[View the full topic](https://meta.discourse.org/t/how-to-detect-draft-topic-via-webhooks/102797)._
