Title: Custom webhook
Last modified: October 29, 2022

---

# Custom webhook

 *  Resolved [ijustwannadev](https://wordpress.org/support/users/ijustwannadev/)
 * (@ijustwannadev)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/custom-webhook/)
 * How do I create a custom web hook, for example on category creation using the
   REST API ?
    I am using `@woocommerce/woocommerce-rest-api` on an ExpressJS Server.

Viewing 1 replies (of 1 total)

 *  [Saif](https://wordpress.org/support/users/babylon1999/)
 * (@babylon1999)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/custom-webhook/#post-16149899)
 * Hello [@ijustwannadev](https://wordpress.org/support/users/ijustwannadev/),
 * You can create a webhook from the `WooCommerce > Settings > Integration > WebHooks`.
 * You can then select an `Action event`, I’m not sure which one should be used 
   in your case but according to [this thread](https://wordpress.org/support/topic/how-to-add-webhook-for-creation-of-product-categories/),
   they reported success using `woocommerce_rest_insert_product_cat`.
 * Hope this helps!

Viewing 1 replies (of 1 total)

The topic ‘Custom webhook’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Saif](https://wordpress.org/support/users/babylon1999/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/custom-webhook/#post-16149899)
 * Status: resolved