Forum Discussion

david_gray's avatar
3 years ago

API and Postman

Hello

I have been following the docs a href="https://communities.logicmonitor.com/topic/1964-accessing-the-logicmonitor-rest-api-with-postman-and-lmv1-api-token-authentication/" rel="">here attempting to get device details from the API using Postman but am getting 404.   I found a 

device that I am familiar with and used it's system.deviceId value in my request.  Here are the screenshots from Postman if anyone can 

spot the obvious ? 

Thanks 

 

Environment:

The masked out part of the url is my company name, as it is in the LM portal. 

api_id and api_key are copied straight from the portal, however the password is not base64 encoded.   

 

Collection

 

  • Anonymous's avatar
    Anonymous

    The auth is not a parameter but a header. Also, you might add a header called "X-Version" with a value of 2 to ensure you're going to the current supported version of the API.