APIs & Integrations

igeorge5
Membro

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 Avaliação positiva
1 Solução aceita
paradummy
Solução
Colaborador(a) | Parceiro
Colaborador(a) | Parceiro

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. 

Exibir solução no post original

2 Respostas 2
paradummy
Solução
Colaborador(a) | Parceiro
Colaborador(a) | Parceiro

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
Gerente da Comunidade
Gerente da Comunidade

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 Avaliação positiva