API Integration in Hubspot - how to add Basic Authentication

Dear Hubspot Community,

We are exhibiting at a large event soon and would like to collect the contact details from the QR codes on the badges using the QR code scanner in the Hubspot Mobile app.

To do this, we have purchased an API from the event organiser (API provider) that will allow us to connect and store the data directly in Hubspot.

The API provider uses an endpoint with a username and password that runs through ‘basic authentication’. We would now need to know how to implement this as Hubspot only allows OAuth or Private App access token.

We look forward to your feedback!

Thanks and best regards

Hi @ASR

I wanted to discuss the topic of adding basic authentication for the external app’s API in HubSpot. Unfortunately, it is not possible to directly add this authentication within HubSpot itself. However, I have a solution that might help. We need to write a piece of code on your external server to establish a connection between your app and HubSpot.

I hope this will help you out. Please mark it as Solution Accepted and upvote to help another Community member.
Thanks!