# パブリッシュトピックイベントのWebhooks

**URL:** <https://meta.discourse.org/t/webhooks-for-publish-topic-event/121211>\
**Category:** Development\
**Created:** [2019 年 6 月 24 日午後 10:23 UTC](https://meta.discourse.org/t/webhooks-for-publish-topic-event/121211 "2019-06-24T22:23:02Z")\
**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:** [2019 年 6 月 25 日午前 5:45 UTC](https://meta.discourse.org/t/webhooks-for-publish-topic-event/121211/2 "2019-06-25T05:45:01Z")

</div>

When you first publish a topic there should be a webhook with the `X-Discourse-Event` header set to `topic_created`. If you then set a topic timer to publish the topic to another category, there should be a webhook with the `X-Discourse-Event` header set to `topic_edited` when the topic is published to the new category.

This works correctly when I test it on my development site.

---

_[View the full topic](https://meta.discourse.org/t/webhooks-for-publish-topic-event/121211)._
