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.
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
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.