Search Deals by deal name using API.

SOLVE
Kapil
Participant

How do I search deals by deal name in query string using API?

e.g., 

I was trying to do like this, but it does not work,

 

https://api.hubapi.com/deals/v1/deal/deal_name?hapikey=dfasdf3242342342fsfd&includeAssociations=true...

 

is it wrong or there is another way to fetch deals by deal name?

1 Accepted solution

Accepted Solutions
edjusten
Solution
HubSpot Employee

Hi. There is no Search deal name API. The best you can do is use this API to get all deals, and then using browser search to find a specific deal.   


Did my post help answer your query? Help the Community by marking it as a solution

View solution in original post

3 Replies 3
edjusten
HubSpot Employee

Hi @Kapil  The error message I'm seeing says the HubSpot API key is wrong.You can find the correct API key by following the instructions locted here

 

Ed 


Did my post help answer your query? Help the Community by marking it as a solution
Kapil
Participant

Hi @edjusten,

In the given example, I have mentioned wrong  api  because it is just an example. My question was, whether is it the right way to search deals by deal name?

 

Thanks.

0 Upvotes
edjusten
Solution
HubSpot Employee

Hi. There is no Search deal name API. The best you can do is use this API to get all deals, and then using browser search to find a specific deal.   


Did my post help answer your query? Help the Community by marking it as a solution

View solution in original post