Hey, I want to integrate leadsquared api, but on connect i am getting 401 status code

In leadsquared api there are two keys-
1-accessKey
2-secretKey

I tried both one by one but on both cases i am getting 401.

Leadsquared api sample -
https://{host}/v2/LeadManagement.svc/Lead.Capture?accessKey=AccessKey&secretKey=SecretKey

In kor connect , the api url i am using -
api url - {host}/v2/LeadManagement.svc/Lead.Capture?accessKey=AccessKey&secretKey=SecretKey

Hello Ajay,

We checked your connection, and the issue seems to be that you are sending the whole URL including the parameters in the ‘API URL’ field. What we recommend is that you place only the hostname in the API URL field (ending in .com), and in your request (Axios, curl, Postman, etc.), send the complete path like this: ‘https://YOUR-USER.korconnect.io/test-leads/v2/LeadManagement.svc/Lead.Capture?accessKey=AccessKey&secretKey=SecretKey’.

Also check if your keys need to be sent as parameters or as headers.

Hope this helps.

Regards,