Hi All,
I want to integrate Hubspot Contact API in React app,
I’m using this method right now
axios.get(
'https://api.hubapi.com/crm/v3/objects/contacts',
{
headers: {
Authorization: `Bearer ${YOUR_TOKEN}`,
'Content-Type': 'application/json',
},
},
(err, data) => {
// Handle the API response
},
);
But this is giving me 401 ,
I tried with POST request as well but still got 401,
Basically I want to create contact through React app
Let me know if anyone can help
Regards
Abdul