ContributionsMost RecentMost LikesSolutionsRe: Accessing the LogicMonitor REST API with Postman and LMv1 API Token Authentication 3 minutes ago, Stuart Weenig said: We recommend using Postman. This post describes what to do to get it setup in Postman, which is known to be secure. Absolutely, I do use it and it helped in my development efforts a few weeks back (Postman Environment vars in and making the API requests with token in header)... I'll try to delete my earlier post to avoid confusing anyone who finds this thread in the future. Re: Accessing the LogicMonitor REST API with Postman and LMv1 API Token Authentication ... forgot to add, in my case I'm using the REST API though -- so I'm not sure about your 'shared widget' use case. Re: Accessing the LogicMonitor REST API with Postman and LMv1 API Token Authentication @Vishwajit I had this issue also, what I found was that the auth key cant be sent in the URL / Querystring as a parameter, but rather it has to be sent in the request headers. Do a search for sending auth token in request headers or use a tool like this (not sure how secure it is though) to play around with adding your token to header and see your data come back. That was my hurdle a few weeks back, and now I'm past that and everything else was relatively easy to put together for my custom linux service. Good luck! Re: Accessing the LogicMonitor REST API with Postman and LMv1 API Token Authentication Another question regarding the REST API. I've had much success using a TEST API ID and KEY created under my own account / email address. I can make the necessary GET requests and obtain the JSON response for all the devices that I can see within Logic Monitor. There are OTHER devices / resources that fall outside what my individual account has access to and I've had our security / infrastructure team setup a logic monitor user account that has READ ONLY access to the other devices / resources. However when I login with that account and try to create a new API ID and Access Key, I don't see the ability to create a new one (there's no PLUS icon / symbol that I used before to create the initial / test key & ID) Which leads me to the question: Is this due to the fact that API access allows POSTs to perform actions through the REST API so therefore READ ONLY will NOT be able to have access to the API endpoints? (i.e. a READ ONLY user account lacks the necessary permissions to have access to the API?) Thanks for any light someone can share on this. Hopefully there's a way for my read only account to make API calls and get data, but something tells me it's a permissions / access rights issue where READ ONLY needs to be opened up to have WRITE permissions as well. Thanks for any light someone can shed on this for us. Re: Accessing the LogicMonitor REST API with Postman and LMv1 API Token Authentication Awesome, thanks. I completely overlooked that. Getting results now and very appreciative of your help! Re: Accessing the LogicMonitor REST API with Postman and LMv1 API Token Authentication I'm trying to make a simple GET request ( /device/devices ) and I've successfully created my API access id in Logic Monitor user settings, but I don't see where I can obtain the KEY. Some documentation I found online seems to indicate I have to generate the key based on a base64 of a generated hash (HMAC256), while this thread seems to indicate(?) that the KEY is assigned along with the access ID. Can you please elaborate on how one goes about obtaining the KEY to use for the POSTMAN pre request script?
Top ContributionsRe: Accessing the LogicMonitor REST API with Postman and LMv1 API Token AuthenticationRe: Accessing the LogicMonitor REST API with Postman and LMv1 API Token AuthenticationRe: Accessing the LogicMonitor REST API with Postman and LMv1 API Token AuthenticationRe: Accessing the LogicMonitor REST API with Postman and LMv1 API Token AuthenticationRe: Accessing the LogicMonitor REST API with Postman and LMv1 API Token AuthenticationRe: Accessing the LogicMonitor REST API with Postman and LMv1 API Token Authentication