# using webhooks with privet app

**URL:** <https://community.hubspot.com/t/using-webhooks-with-privet-app/71564>\
**Category:** APIs & Integrations\
**Tags:** webhooks\
**Created:** [December 20, 2022, 9:15am UTC](https://community.hubspot.com/t/using-webhooks-with-privet-app/71564 "2022-12-20T09:15:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lstepany](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/lstepany/32/54675_2.png) [@lstepany](https://community.hubspot.com/u/lstepany)\
**Post date:** [December 20, 2022, 9:15am UTC](https://community.hubspot.com/t/using-webhooks-with-privet-app/71564/1 "2022-12-20T09:15:47Z")

</div>

Hi,

The logic I would like to apply to the integration with third parti app is as follows.

When the CRM object properties value is “somevalue” HTTP POST requets is made to “myendpoint”.

In my integration app I use priveApp as authentication method. How can I acheive this implementation?

One way I was thinking of is to use Operations hub. To create a workflow with the action ''send webhook" to “myendpoint”.

 ![lstepany_0-1671527414594.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/6/96f4206b07e6a4c7baafb827e3d546e012046222.png)

 ![lstepany_1-1671527479374.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/7/5/758ff048a47ec03290662ed1913fe29fc3c0fb45.png)

Would it be a working option?

Thanks in advance,

Levon

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [December 20, 2022, 6:18pm UTC](https://community.hubspot.com/t/using-webhooks-with-privet-app/71564/2 "2022-12-20T18:18:10Z")

</div>

Hi, @lstepany 👋 Private apps cannot be used with Webhooks. You’ll need to create an app, set up OAuth, and then you can set your webhook details in your app settings. Here’s some documentation:

- [When to build HubSpot public apps](https://developers.hubspot.com/blog/hubspot-integration-choosing-private-public-hubspot-apps) — “…if you want to use the [Webhooks API](https://developers.hubspot.com/docs/api/webhooks) or [timeline events](https://developers.hubspot.com/docs/api/crm/timeline), you’ll need to build your integration using a public app”
- [Webhook documentation](https://developers.hubspot.com/docs/api/webhooks) — “Webhooks are set up for a [HubSpot app](https://developers.hubspot.com/docs/faq/how-do-i-create-an-app-in-hubspot), not individual accounts. Any account that install your app by going through the [OAuth flow](https://developers.hubspot.com/docs/methods/oauth2/initiate-oauth-integration) will be subscribed to its webhook subscriptions.”
- [Create an app](https://developers.hubspot.com/docs/api/creating-an-app)

You’ll need to create a public app (does not have to be listed in the Marketplace) and set up your webhooks in the app. It is not possible to use Private Apps for Webhooks.

Have fun building! — Jaycee

---

<div class="post-metadata">

**Author:** ![lstepany](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/lstepany/32/54675_2.png) [@lstepany](https://community.hubspot.com/u/lstepany)\
**Post date:** [December 20, 2022, 9:14pm UTC](https://community.hubspot.com/t/using-webhooks-with-privet-app/71564/3 "2022-12-20T21:14:31Z")

</div>

Hi [@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074)

Thank you for reply!

Actually not even with a privet app but with API key and a manualy created SECRET. (isn’t API key deprected already?? or is this a different thing?)

 ![lstepany_0-1671570359489.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/4/942f60cdc2885468905b352962d6e1ec6df6acd1.png)

Initially I was plannig to build a custom integration with OAuth authentication method but after exploring more the operations hub I discovered that there is an option to send a webhook right from the HubSpot workfloes. Looks too easy 😄 is that a good solution?

> **[How to Trigger Webhooks in HubSpot Contact-Based Workflows](https://knowledge.hubspot.com/workflows/how-do-i-use-webhooks-with-hubspot-workflows)**
>
> Learn how to trigger a webhook using HubSpot's contact-based workflows.
