Hi.
I’d suggest to submit this in the Developers Community instead:
Freshworks Developer Community
On the other hand, this was posted on FreshDesk community but flagged as FreshSales, and according to your API URL, it seems it is indeed FreshSales.
Tagging @alyssia.correa @Kamakshi V just in case.
Regards,
Hi Hegery.
Thank you for reaching out to us. I am Pradipta, from the Freshsales team.
As per our CORS policy, no websites can directly use our API from their front end. This is the expected behaviour as per our security measures.
Since you are trying to create a contact from your website, we suggest 2 solutions that you can use:
-
Invoking CRM api from your proxy server/middleware. This will avoid this issue as CORS issue will occur only if you try to access the APIs directly from your frontend.
-
You can also make use of CRM tracking code feature.
Please feel free to let us know if you need any further assistance or drop us an email to crm-support@freshworks.com.