Krayin Forum

    Krayin

    • Register
    • Login
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Node api in lead module

    Comments & Feedback
    2
    2
    1261
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      harjinderkaur last edited by

      How i implement node api in lead module so user can add lead in react but it also show in Krayin dashboard??

      A 1 Reply Last reply Reply Quote 0
      • A
        admin @harjinderkaur last edited by

        @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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Powered by NodeBB | Contributors