We have developed a Freshworks CTI application for our Freshworks CRM Sales account and need assistance in fetching all the users from the CRM for user-agent mapping with third party application. Can anyone help with this?
Hi @HarishGarg ,
You can use the “List All Contact” API to fetch the existing contacts.
https://***.myfreshworks.com/crm/sales/api/contacts/view/[viewid}
No, I am not referring to the contacts. I need the list of all agents in the CRM.
I assume, there is no API for list all Agents in this CRM. But ,We can fetch a specific agent with the help of search API.
Okay, is there any other way to perform user-agent mapping in my Freshworks CRM with the third-party application?
Hi @HarishGarg,
As @Bharath_Raghuraja mentioned, there’s no API to do CRUD operations with agents in CRM. Only Search API is available and a query parameter is mandatory to search the agents. It may not be possible to get all the agents.
So, from a third-party application, user-agent mapping cannot be done over APIs.
Please check if there are any product features that support updating the agent details in the CRM through import/export or any other means. If you need help with the product, please contact Freshsales support.
Hi @Raviraj
Thank you for the update.
As mentioned, I tried the Search API using the following query: https://smartpingai.myfreshworks.com/crm/sales/api/search?q=preetiranjan.das@smartping.ai&f=email&include=user
The API returned the following data:
the response does not include the mobile or work number, which is critical for our use case.
Could you please confirm if there’s any way to retrieve additional details, such as mobile or work number, via the API?