HubSpot App, App Integration - WebHook URL

I am developing a Hubspot App for the first time. My goal is that whenever a new lead is generated in HubSpot, I receive a Call on my APP using a WebHook, so I can use that data and send it to third party service.

My question is that: Do I need my Own Server for my API Calls that I am using in the APP? Like which URL should I give inside the WebHook?

Secondly, I am using CodeIgniter to develop that App, is that fine or I have to stick to nodeJS?

HI,

  • Yes a webhook is a trigger that call an url. So if you want hubspot server to call you app you need a public url.
  • Whatever le langage you use , the hubspot api is a rest api so you just need to call url.

Thank you. that clears my confusion. So Hubspot does not host our Apps (or App files). We need them hosted on our own server, and integrate it with Hubspot with oAuth (After Creating an App on HubSpot), Right?

Yes, but in your case you don’t need oAuth, oAuth is usefull if you create an app that your customer will use. Juste use an api key