APIs & Integrations

igeorge5
Mitglied

My API in my website

lösung

Hi everyone, I created an API to upload a local file into files Hubspot, on the other hand, I'm creating a website in hubspot but I need include this API. My API are creating with nodejs and the module of hubspot have js file, if I inset my API here doesn't work. You know how can I solve it? thank u.

0 Upvotes
1 Akzeptierte Lösung
paradummy
Lösung
Mitwirkender/Mitwirkende | Partner
Mitwirkender/Mitwirkende | Partner

My API in my website

lösung

Hi @igeorge5 
You can integrate your nodejs API with serverless functions within hubspot. But for that the CMS Hub Enterprise is needed. Alternatively you can host your API on another server and call that from the HubSpot frontend. 

Lösung in ursprünglichem Beitrag anzeigen

2 Antworten
paradummy
Lösung
Mitwirkender/Mitwirkende | Partner
Mitwirkender/Mitwirkende | Partner

My API in my website

lösung

Hi @igeorge5 
You can integrate your nodejs API with serverless functions within hubspot. But for that the CMS Hub Enterprise is needed. Alternatively you can host your API on another server and call that from the HubSpot frontend. 

Jaycee_Lewis
Community-Manager/-in
Community-Manager/-in

My API in my website

lösung

Hi, @igeorge5 👋 Thanks for your post. I have a few questions to give you community more information.

 

Questions:

  • Do you have your server set up to host your API?
  • Are you using CORS?
  • How are you structuring your client-side API call? 

Thanks for the additional information! — Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes