Freshwork CRM list of all contacts

Hello all!
I have some issue with freshsales suite API. I need to get the list of all contacts in my CRM. But even when using the right api key, I got a 403 permission error, though I am an account administrator of the CRM

Here is a screenshot of the request (code curl -H "Authorization: Token token=*****" -H "Content-Type: application/json" -X GET "https://domain.myfreshworks.com/crm/sales/api/contacts/view/3" )


However, using the same key, I am able to view a contact and other admin tasks via the API (code curl -H "Authorization: Token token=*****" -H "Content-Type: application/json" -X GET "https://domain.myfreshworks.com/crm/sales/api/contacts/17020129264" ):

So what is the right way to get the list of all contacts in freshsales suite(freshsales suite) ?
Thank you!

@Andonirina,
Good Day!
Seems like this is an issue with the product API authentication, Let me check with the product team and get back to you at the earliest

Thanks

Okay. Thanks! I am looking forward a fix as it blocks a major functionality

Check once if the viewId is correct. You can get the viewid for All contacts using this API
https://domain.myfreshworks.com/crm/sales/api/contacts/filters

2 Likes

That resolved the problem. Many thanks!

2 Likes

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.