Need help fast? Ask Pulse AI and get instant support.

Go back to homepage

Configuring access to SOTI API

Solved Locked
CH
Callum Haynes
Microlise Ltd.

We used the tool and ran the command

MCAdmin.exe APIClientAdd -n:[ANY_NAME_YOU_WANT]

we are using the SOTI admin account with these ClientId and ClientSecret

Using the Swagger page we are still unable to query the API, we are getting a 401 unauthorised

We attempted to use the powershell script in:

https://discussions.soti.net/thread/api-call-via-power-shell-to-send-script/

and that returns us a code 400

Any help would be appreciated, thanks.

7 years ago
SOTI MobiControl
ANSWERS
SB
Stuart Barrett
7 years ago
Solution
SB
Stuart Barrett
7 years ago

Did you add the details as below on the Swagger API reference page to test?

MCUsername:MCPassword:ClientID:ClientSecret

CH
Callum Haynes
7 years ago

yes we did

CH
Callum Haynes
7 years ago

That did the trick, thankyou!  :)