Authorize with LMS365 API key in Swagger and Postman


Before users can start using LMS365 APIs, they need to register with a relevant API key. This article provides guideline on where to get the API key and how to authorize with it in Swagger and Postman.


Get LMS365 API key for authorization

Required role: LMS admins or Microsoft 365 global admins.

LMS365 enables global admins to generate multiple LMS365 API keys with permissions level of two types - Read Only or Full Control. The key with the Full Control type can be used for authorization allowing to use LMS365 APIs.  

To get the API key with the relevant permissions level:

1. Navigate to the LMS365 Admin Center > Global Settings API Key Management.

2. Select the API key and copy it with the help of the Copy API Key option.

Now the API key can be used for authorization.




Authorize in Swagger

After you get the relevant API key, you can authorize in Swagger with this key.

1. Navigate to and scroll down to the LMS365 Cloud API.

2. Select the green Authorize button. The authorization panel opens. 




3. On the authorization panel, under Basic authorization:

  • In the Username field, type api.
  • In the Password field paste the copied API key.


4. Select 'Authorize'. Now you are done to use LMS365 APIs.


To log out select the green 'Authorize' button and click 'Logout'.




Authorize in Postman

To authorize in Postman:

1. Navigate to the "Authorization" tab.

2. From the Type drop-down menu, select the Basic Auth type.



3. Fill in the Username and Password fields:

  • In the Username field, type api.
  • In the Password field, paste the copied API key.

The authorization data is automatically included in request and used each time you send a request.


Was this article helpful?
0 out of 0 found this helpful


Article is closed for comments.