Authentication MobiControl API

Hello, i want to try to build an app based for mobicontrol console using the soti snap. Inside the app, there is a login function. For this function, people who login to this app is the admin or user using their mobicontrol account. So they don't need to create another account in order to login the app and get the devices information from MobiControl. 

I have plan to using the MobiControl API. But, i have no idea which API should i use to authentication. Anyone can help me?

Thanks

3 years ago
SOTI MobiControl
ANSWERS
RC
Raymond Chan Diamond Contributor
3 years ago

Look into the MobiControl REST API documentation specific to your server version  as instructed in the online manual at

  https://soti.net/mc/help/v15.6/en/adminutility/tools/restapi.html

FA
Faiq Anargya
3 years ago

I already check that one, but still confused. I check some API function like for authentication and user management. I still cannot found the right API to build the login function. 

RS
Rafael Schäfer
3 years ago

There are multiple steps to get this working.

1. You have to add an api user to be allowed to use the api as shown in the documentation 

2. You get an encrypted username and password which you need for the post token request (Authorization header needs the encrypted api-user login data, your own logindata has to be in the data send inside the post request (grant_type))

3. The access token you get there you need for all now done api calls via bearer authorization

T
THMOD@SOTI
3 years ago

Hi Faiq,

Thank you for posting on SOTI Central and thanks Raymond and Rafael for responding to the post.

Do you find the responses from them resolved your inquiry?

If yes, please help to put this post as Solved.

Thanks.

Kind regards,

Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |