About Mosyle
Mosyle is an Apple device management (MDM) platform for businesses and schools. The Serval integration connects to your Mosyle Business account using your Mosyle account email, password, and an API Access Token. Serval signs in to Mosyle on your behalf with those credentials, giving your workflows on-demand access to everything the Mosyle Business API exposes - devices, users, and groups. Serval only ever sends these credentials to one host for this integration: businessapi.mosyle.com. Authentication: Mosyle account email + password + API Access Token, entered in a credential form. There is no OAuth or sign-in redirect flow. Data sync: None. No Mosyle data is ingested or synced into Serval - workflows reach Mosyle on demand.What the Mosyle integration enables
Anything the Mosyle Business API exposes can be accessed through Serval. The API reference lives inside your Mosyle Business console under Organization > API Integration.
Get your credentials
You need three things: an API Access Token from the Mosyle Business console, plus the email and password of a Mosyle user account that is allowed to use the API.1
Log in to Mosyle Business
Sign in to your Mosyle Business console.
2
Open API Integration
Navigate to Organization > API Integration.
3
Enable the API integration profile
Turn on the API integration profile for your organization.
4
Copy the Access Token
Copy the Access Token shown after enabling - you will paste it into Serval.
5
Choose the account Serval will use
Have the email and password of a Mosyle user with API access ready. Serval signs in as this user on every request.
Serval signs in as this user account. If the password changes or the account is deactivated in Mosyle, the connection stops working until you update the credentials in Serval.
Connect in Serval
1
Open the Mosyle connect form
Add a new Mosyle connection from your Serval integrations page.
2
Enter your Email
Fill in Email (required) - your Mosyle account email.
3
Enter your Password
Fill in Password (required) - your Mosyle account password.
4
Enter your Access Token
Fill in Access Token (required) - the token from Organization > API Integration.
5
Submit the form
Click Submit. If installation fails, the form shows “Failed to install integration” (with details appended when available).
Verifying the connection
Two health checks run against your connection:- List Mosyle Users - signs in with your stored credentials and retrieves your Mosyle users to confirm the connection works end to end.
- Success: “Successfully connected to Mosyle and retrieved users (count: [number])”
- Failure: “Unable to connect to Mosyle. Please verify your email, password, and access token are correct.”
- List Mosyle Devices - retrieves your managed Mac devices to confirm the credentials are valid and device management permissions are granted.
- Success: “Successfully connected to Mosyle and retrieved devices (count: [number])”
- Failure: “Unable to retrieve devices from Mosyle. Please verify your credentials and that device management permissions are granted.”
Gotchas and troubleshooting
Serval signs in to Mosyle on every request
Serval signs in to Mosyle on every request
Sign-in tokens are not cached. Every workflow request to Mosyle first triggers a fresh Mosyle sign-in with your stored credentials before the actual call is made. High-volume workflows therefore generate one Mosyle login per request, which can run into Mosyle’s rate limiting sooner than the request count alone suggests. If a busy workflow starts seeing Mosyle errors, spread its requests out over time.
Mosyle Business accounts only
Mosyle Business accounts only
Serval can only reach Mosyle’s Business API service (businessapi.mosyle.com). Mosyle for Education (school) accounts and other Mosyle services are not reachable from Serval workflows. Each connection is pinned to a single Mosyle Business account.
Mosyle handles reads and writes the same way
Mosyle handles reads and writes the same way
A note for whoever builds your workflows: the Mosyle Business API expects every operation - including simple lists of devices or users - to be submitted as a request with the operation described in the body, rather than a plain lookup. Serval pins requests to version 1 of the Mosyle Business API and fills in that version portion of the address automatically, so workflow builders do not need to include it.
Need help? Contact support@serval.com for assistance with your Mosyle integration.

