Hi KUNDAN CHAUHAN ,
401 unauthorized error itself indicates that you are missing to pass some token or key in the request or Missed some Configuration at your end .
You can Consider Downloading the Demo module from forge and compare with your implementation to find out where and what you might be missing.
Home (aadhavan.outsystemscloud.com)
Regards,
Varada Rajan