# Webhook for OAuth account not working

**URL:** <https://community.hubspot.com/t/webhook-for-oauth-account-not-working/17445>\
**Category:** APIs & Integrations\
**Tags:** webhooks\
**Created:** [November 27, 2019, 1:34pm UTC](https://community.hubspot.com/t/webhook-for-oauth-account-not-working/17445 "2019-11-27T13:34:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bwor80](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/bwor80/32/35493_2.png) [@bwor80](https://community.hubspot.com/u/bwor80)\
**Post date:** [November 27, 2019, 1:34pm UTC](https://community.hubspot.com/t/webhook-for-oauth-account-not-working/17445/1 "2019-11-27T13:34:36Z")

</div>

Here is what I have:

App ID: 207187

Hub ID using the test app: 6768699

I have succesfully added this app with OAuth and it shows as installed. I have a webhook subscription setup for contact creation. For now, I wanted the webhook to fire and deliver the payload to my end point and I would just dump out the data. However, it does not appear to be sending anything to the app when I create a new contact.

My code for the app is pretty barebones on the call:

```auto
//WEBHOOK for contact creation
app.post('/contact', async (req, res) => {
console.log('contact request data');
console.log(req.data);
res.status(204).send();
});

```

Not sure why this is not dumping the payload to the console. Any ideas why the webhook would not be sending data?

---

<div class="post-metadata">

**Author:** ![jackcoldrick](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jackcoldrick/32/5119_2.png) [@jackcoldrick](https://community.hubspot.com/u/jackcoldrick)\
**Post date:** [November 27, 2019, 3:09pm UTC](https://community.hubspot.com/t/webhook-for-oauth-account-not-working/17445/2 "2019-11-27T15:09:20Z")

</div>

Hi @bwor80 ,

I’ve just taken a look at your app configuration within your developer portal. It looks as though the webhook is currently paused. As a result it will not trigger when a contact is created. If you activate and try again it should be fine. See below:

 ![2019-11-27_1508.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/1/6/165cfd96ea8b7c7c83e403425419dcc0a4ba7d92.png)

Regards,

Jack

---

<div class="post-metadata">

**Author:** ![bwor80](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/bwor80/32/35493_2.png) [@bwor80](https://community.hubspot.com/u/bwor80)\
**Post date:** [November 27, 2019, 4:25pm UTC](https://community.hubspot.com/t/webhook-for-oauth-account-not-working/17445/3 "2019-11-27T16:25:32Z")

</div>

@jackcoldrick

Thanks for the response! Based on this, are webhooks always started in a paused state?

---

<div class="post-metadata">

**Author:** ![jackcoldrick](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jackcoldrick/32/5119_2.png) [@jackcoldrick](https://community.hubspot.com/u/jackcoldrick)\
**Post date:** [November 27, 2019, 5:26pm UTC](https://community.hubspot.com/t/webhook-for-oauth-account-not-working/17445/4 "2019-11-27T17:26:29Z")

</div>

Hi @bwor80 ,

No problem at all. Yes that is correct. This is documented [here.](https://developers.hubspot.com/docs/methods/webhooks/webhooks-overview)

```auto
NOTE: New subscriptions are created in the paused state. 
You will need to activate the subscription for webhooks to send.

```

Regards,

Jack
