LogMeIn Resolve MDM API v2
LogMeIn Resolve MDM API (Application Programming Interface) v2 is an HTTPS REST-based interface for integrating LogMeIn Resolve MDM with other applications. API v2 provides access to resources via URL and it is suitable for CRUD (create, read, update and delete) operations in LogMeIn Resolve MDM.
Authentication
LogMeIn Resolve MDM API v2 uses the authentication key which is sent to the server in the request’s HTTP header X-API-Key.
The authentication key is a random string that can be generated from LogMeIn Resolve MDM web console > System > Infrastructure diagram when the API feature is activated.
Supported items and methods
The LogMeIn Resolve MDM API v2 is used by sending HTTPS requests to the LogMeIn Resolve MDM server. The API uses standard HTTPS methods GET, PUT, POST, and DELETE. The response format is JSON.
- Include <sitename> in the new URL as a subdirectory.
- https://mdm.gotoresolve.com/<sitename>/api/v2/<item>
- Include <sitename> in the HTTP header.
- https://mdm.gotoresolve.com (without <sitename>) provide <sitename> in the X-Instance-Name header.
The technical documentation of LogMeIn Resolve MDM API v2, information about supported items and methods, can be found in the Swagger documentation together with some examples. The documentation is available at: https://mdm.gotoresolve.com/swagger/index.html. You can specify the site name in the X-Instance-Name parameter.
It is possible to try out available API v2 operations with the Swagger tool. In the tool, there is an Authorize button to authorize a session with the authentication key received from LogMeIn Resolve MDM.
Example 1: Locking a device
The device id and the Site name are required parameters.
Option 1: POST https://mdm.gotoresolve.com/mysitename/api/v2/Device/{id}/Lock
Option 2: curl -X POST -H "X-Instance-Name: mysitename" https://mdm.gotoresolve.com/api/v2/Device/{id}/Lock

Example 2: Get the device's locations from a certain time range
- The device id and Site name are required parameters.
- There are some optional parameters, like startDate and endDate (year-month-day), if you want to define the time range for the results.
Option 1: GET https://mdm.gotoresolve.com/mysitename/api/v2/Device/{id}/Location
Option 2: curl -X GET https://mdm.gotoresolve.com/api/v2/Device/{id}/Lock -H "X-Instance-Name: mysitename"
