Log in to the Mosyle Manager console and navigate to My School (or My Profile for Mosyle Business) > API Integration; enable the API feature and copy the access token
For Mosyle Business, also record the account email and password required alongside the access_token for API authentication
POST to https://managerapi.mosyle.com/v2 with a JSON body specifying the operation (e.g., listdevices), the access_token, and any filter parameters
Parse the response JSON; device records include serial number, OS version, MDM enrollment status, and last check-in time
To filter by device type or compliance state, include the applicable filter keys supported by the operation in the POST body
Automate periodic exports by scheduling the POST call and storing results for compliance audit trails
Known gotchas
The Mosyle API uses a single POST endpoint (managerapi.mosyle.com/v2) for all operations, differentiated by the operation key in the request body, rather than REST-style resource paths — ensure the operation key matches Mosyle's documented values exactly
API credentials include the access_token in addition to email/password for Mosyle Business; omitting any required credential field results in an authentication error with limited diagnostic detail
Mosyle is an Apple-platform-focused MDM; API capabilities are primarily designed for macOS, iOS, iPadOS, and tvOS devices — Android management is not natively supported through this API
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp