Node api in lead module
-
How i implement node api in lead module so user can add lead in react but it also show in Krayin dashboard??
-
@harjinderkaur The query is not clear much
If you just need to generate a lead into CRM from different sources then you may create a webhook URL.
Please take a reference of mail parsing webhook - https://github.com/krayin/laravel-crm/blob/master/packages/Webkul/Admin/src/Http/routes.php#L26
Also, if you want to create RestAPI then make a separate package for API by following the documentation https://devdocs.krayincrm.com/1.x/packages/create-package.html
and, for CRUD operations, use the lead repository listed under the Lead package.