Lansweeper API
Learn how to integrate Lansweeper with Licenseware in under 5 minutes
Lansweeper API IntegrationThis guide explains how to connect Lansweeper Cloud to Licenseware via the Lansweeper API. This integration allows Licenseware to directly ingest and process software and device inventory data from your Lansweeper environment using secure API access.
Before You Start
Ensure you have:
- A Lansweeper Cloud instance set up
- Admin access to your Lansweeper environment
- Access to the Lansweeper App Token feature for generating credentials
Connection Steps
1. Log into Lansweeper Cloud
- Go to your Lansweeper Cloud environment: https://app.lansweeper.com
- Use your administrator credentials to sign in.
2. Navigate to API Access

- In the left-hand menu, go to Settings > Developer tools.

- Select API clients and then ADD NEW API CLIENT
3. Create a API Client

- Select Personal Access Token (PAT)
- Give the API a recognizable name (e.g. Licenseware Connector).
- Select Licenseware in the integrations drop down.
- Click continue
4. Create token

- Select the length of type the API token should be active
- Select which sites should sync data with Licenseware
- Click Allow
- Copy token

- Copy the API Token to your keyboard
5. Connect via Licenseware
- In Licenseware, open Datasources and search for Lansweeper. Click Lansweeper Cloud.

- Click Connect.

- Paste the API token you copied in the previous step into Application identity code.
- Click Verify connection to check it works, then Save credentials.

6. Initiate Import

- Tick on the relevant data sync’s for the applications you are interested in.
- Licenseware will establish a connection and begin retrieving your software and asset data via the Lansweeper API.
- Once complete, data will be available for processing within the relevant apps (e.g. Software Inventory Manager, Java Deployment Manager, etc.).
Troubleshooting Tips
- The processing can take up to 24 hours to complete, allow sufficient to elapse to ensure the initial data sync can occur.
- If the sync is occurring you will see a red wheel on the reports in the report section.
- If the token is invalid or expired, you will need to generate a new one.
- Make sure the API token has correct permissions assigned.
- Double-check the Site ID—it must match your current Lansweeper Cloud environment.
- Ensure firewalls or network policies allow outbound HTTPS connections to Lansweeper’s API endpoint.
Check and fix the connection
In Datasources, click Lansweeper Cloud to open its page. It shows when it last synced, its sync schedule (twice a week, Mon & Wed at 22:00 UTC), its run history and any Feed Errors.
- Update Credentials: Opens the Application identity code so you can replace it.
- Verify Connection: Checks that Licenseware can connect with the code it has stored.
- Reset data: Removes everything Lansweeper Cloud has imported. The connection itself stays.
- Delete Integration: Removes the connection’s configuration together with the devices it brought in.
When a sync fails, the source shows Needs Attention and the reason, both on its page and in the Datasources list. In this example, Lansweeper Cloud could no longer authenticate.

- Click Update Credentials.
- Enter the Application identity code again. Stored values stay hidden, so enter the value even if it hasn’t changed: A value is stored. Enter it again to keep it when you save.
- Click Verify connection to test it, then Save credentials.
