Hi,
We have an internal SMS gateway server that I need to integrate using an API. The SMS application supports OAuth 2.0 authentication.
I want to trigger an SMS when there is an alert using the "Execute an external program" action type.
Can anyone provide a PowerShell script or method to call the SMS gateway API using OAuth credentials saved in the Solarwinds API Poller credentials library? I want to avoid entering the credentials in plain text and am looking for a secure way to use them in the script.
I would appreciate any assistance, as I am not very experienced with coding.
Note: I am using only NPM modules.