APIs & Integrations

igeorge5
Miembro

My API in my website

resolver

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 Me gusta
1 Soluciones aceptada
paradummy
Solución
Colaborador | Partner
Colaborador | Partner

My API in my website

resolver

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. 

Ver la solución en mensaje original publicado

2 Respuestas 2
paradummy
Solución
Colaborador | Partner
Colaborador | Partner

My API in my website

resolver

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
Administrador de la comunidad
Administrador de la comunidad

My API in my website

resolver

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 Me gusta