URL composition to directly search for a company based on name

  • 4 January 2019
  • 4 replies
  • 56 views

Badge +1

 Just wondering if anyone knows the syntax to search FreshDesk company contacts for those which match some name text?


I found the following suggestion in a response from a number of years ago but it no longer works:

https://yourcompany.freshdesk.com/search/customers?term=Aravind


The context to my request is that I want to use an external system to provide a URL to quickly get to the relevant company record in FreshDesk.  (Unfortunately Zapier / FD integration won't do I what I want in this case.)



This topic has been closed for comments

4 replies

Userlevel 4
Badge +12

Hello Andrew,


The syntax works right for the Classic version of Freshdesk. With Freshdesk Mint, the contacts and companies are available at a different location.


Can you please try using this URL instead?


https://yourcompany.freshdesk.com/a/search/customers?term=Aravind


Cheers!

Badge +1

Thanks Aravind - that certainly returns results but includes both Contacts and Companies. I would like to just return Company results.  Can the search term be further qualified to do that?


Userlevel 4
Badge +12

Hello Andrew,


You might have to call the API endpoint to get the company ID and then construct the URL accordingly. You can use this as the reference for the API request. Do you think this will help?


Cheers!

Badge +1

Hi Aravind, thanks for the hint but seemingly doesn't help.  The results I'm after would be those normally return by a manual Freshdesk search and thus directly usable to the user.