Webhook for OAuth account not working

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:

//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?

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:

Regards,

Jack

@jackcoldrick

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

Hi @bwor80 ,

No problem at all. Yes that is correct. This is documented here.

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

Regards,

Jack