Thursday, January 15, 2026

LogicMonitor and Postman

In LM
  1. Generate a bearer token.
In Postman
  1. Click Import and paste https://www.logicmonitor.com/swagger-ui-master/api-v3/dist/swagger.json. This should start the import process. 
  2. Before clicking the import button, click the gear to view import settings. 
  3.  Make sure "Always inherit authentication" is checked on. 
  4. Go to the collection root and select the auth tab. 
  5. Change the auth type to "Bearer Token" and put {{bearer}} as the token. 
  6. Go to the scripts tab and add this to the pre-request script: pm.request.headers.add({key: 'X-Version', value: '3'}) 
  7. Save the collection. 
  8. Create a new environment with the following variables. You just need one for the bearer token. You should set the type to 'secret' for sensitive credentials.
    1. url – https://<portalname>.logicmonitor.com/santaba/rest
    2. bearer - set to type "secret" and use the token generated (without prepending "bearer ")