Questions tagged [hubspot-api]

49 questions
2
votes
2 answers

HubspotClient - Update contact by email id is not working

In NodeJS, I'm using "@hubspot/api-client": "^7.1.2". Created hubspot client using accessToken as follows const hubSpotClient = new hubspot.Client({ accessToken }); When I try to update the contact using email it's throwing error Request: const…
Mokesh S
  • 683
  • 6
  • 11
2
votes
1 answer

Keep getting "There was a problem with the request" when using hubspot search api

I am doing a search on contacts and I keep getting a response of { "status": "error", "message": "There was a problem with the request.", "correlationId": "32073a19-9272-4955-a756-e3b6a4671738" } the correlation id keeps changing. This…
2
votes
1 answer

Search request for companies returns all companies instead the one by domain in HubSpot API

I do have a company created in HubSpot and the code below works with the exception that no matter what I pass to setValue() it always returns the entire list of all companies on file instead only the one existing i.e. hubspot.com tried it also with…
1
vote
0 answers

Hubspot associations API giving me empty contacts

I tried asking this on the hubspot community but my question there gets automatically marked as spam, so I'll try my luck here. I'm using the @hubspot/api-client v8.1.0 package for NodeJS. Here is a piece of code I'm using to test getting contacts…
Juan
  • 15,274
  • 23
  • 105
  • 187
1
vote
1 answer

What's a correct example of Hubspot API CSV import request?

I'm trying to use the Import API to import some contacts. I'm using an over-simplified version of their Sample CSV file which looks like this: First Name Last Name Email…
Angelin Calu
  • 1,905
  • 8
  • 24
  • 44
1
vote
1 answer

Webhooks - authentication type Api key - secret name and secret value - in PHP

I am trying to authenticate a webhook using api key (secret name and secret value). So I have made two files: webhook.php :
Fllorinaaa
  • 81
  • 1
  • 7
1
vote
1 answer

Webhooks - Validate the v3 request signature HUBSPOT

I am trying to connect a Hubspot CRM with my internal application, to send values from Hubspot to my app using Webhooks, with Authentication: Hubspot app id. I have been using this:…
Fllorinaaa
  • 81
  • 1
  • 7
1
vote
1 answer

Problem with my click element in Javascript

I can't make an alert in JS when clicking on the "Submit" button. It's html loaded remotely by a script and the JS can't recognize it. Here is a reconstruction, anyone have an idea please? http://jsfiddle.net/sdrvqjxn/1/