APIs & Integrations

igeorge5
Member

My API in my website

SOLVE

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 Accepted solution
paradummy
Solution
Contributor | Partner
Contributor | Partner

My API in my website

SOLVE

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. 

View solution in original post

2 Replies 2
paradummy
Solution
Contributor | Partner
Contributor | Partner

My API in my website

SOLVE

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
Community Manager

My API in my website

SOLVE

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