Public API for voting system without authentication
SOLVE
Hi there, In my site, I have public voting system for user who votes Up and Down. But I tried to access all Hubspot APIs but It required Oauth 2.0 or Private API key. Are there any solution for accesses API with the specify token or don't need permision ?
Please note that your end users do not need to be authenticated by HubSpot. The API key and/or OAuth authentication only occurs between your back end server and HubSpot's APIs.
Said differently, anonymous visitors who upvote and downvote things on your site will not interact with the HubSpot API at all. Instead, these votes will be logged to your back end through whatever system you have in place. From there, you can send data from your back end server to your HubSpot CRM via the APIs. This is where HubSpot authentication comes into play. Thus, you only need one API key or OAuth token at a time for the integration between your server and HubSpot. Your end users do not need keys or tokens at all.
Please note that your end users do not need to be authenticated by HubSpot. The API key and/or OAuth authentication only occurs between your back end server and HubSpot's APIs.
Said differently, anonymous visitors who upvote and downvote things on your site will not interact with the HubSpot API at all. Instead, these votes will be logged to your back end through whatever system you have in place. From there, you can send data from your back end server to your HubSpot CRM via the APIs. This is where HubSpot authentication comes into play. Thus, you only need one API key or OAuth token at a time for the integration between your server and HubSpot. Your end users do not need keys or tokens at all.
Public API for voting system without authentication
SOLVE
Hi Issac, one more question. To be honest, my front end website built by Hubspot CMS. But no way to access the back end server for create the voting script.
Are there anyway to access the back end CMS ? ot Are there any way to create the new Hubspot server instance ?
Public API for voting system without authentication
SOLVE
Hi Isaac, Thank you for your answer. Currently, I have no back end server, so I want to dirretly HubSpot API by Javascript. It's seem impossible, let me build my back end server.