Hi , how i can get the user id of currecnt logged in user so i can send it with lead info to extennal api
this is button name : test api external
in console I see this error
- VM664:1 Uncaught SyntaxError: Unexpected token < in JSON at position 0
- at JSON.parse (<anonymous>)
- at zcrm8_ea36c_.js?env=crm&jscors=true:1
- at Object.success [as successfn] (zcrm3_b5b46_.js?env=crm&jscors=true:1)
- at Object.pushPendingResponse (zcrm3_b5b46_.js?env=crm&jscors=true:1)
- at Object.processResponse (zcrm3_b5b46_.js?env=crm&jscors=true:1)
- at Object.success (zcrm3_b5b46_.js?env=crm&jscors=true:1)
- at h (zcrm-libs_39f1a_.js?env=crm&jscors=true:1)
- at Object.fireWith [as resolveWith] (zcrm-libs_39f1a_.js?env=crm&jscors=true:1)
- at n (zcrm-libs_39f1a_.js?env=crm&jscors=true:1)
- at XMLHttpRequest.<anonymous> (zcrm-libs_39f1a_.js?env=crm&jscors=true:1)