→ Having trouble accessing our new support portal or creating a ticket? Please notify our team here
a week ago
We are integrating calls to the Lansweeper API for a client. When a user calls in to the helpdesk we would like to lookup their Lansweeper data and display some information for the helpdesk agent.
We have successfully set up our API access and are authenticating and getting an access token. We can test various GraphQL queries using Postman, but when we try to lookup account data for a use we are failing. We tried the example in the documentation at this link for getting authorized accounts, realizing we would have to filter it:
https://docs.lansweeper.com/docs/api/getting-data#get-asset-details
under heading "Listing authorized accounts", but we get 403 - Unauthorized. Our account has full admin rights.
Can you please advise the best way to do this?
Thanks,
George S.
a week ago
Hi @gschally, when using the Lansweeper API to access account data, just make sure that the user making the request has the right permissions, especially the "View accounts" permission. If you see a 403 - Unauthorized error, it's likely because of not having enough permissions.
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now