Configure geofenced clock-in enforcement using the When I Work API and location coordinates

domain: apidocs.wheniwork.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Authenticate to the When I Work API using the login service at https://api.login.wheniwork.com/login and capture the W-Token.
  2. Retrieve existing site/location records (GET /2/sites) to identify which locations have geofencing settings; each site object includes address and GPS coordinate fields.
  3. Update a site's geofence settings via PUT /2/sites/{id} by providing the latitude, longitude, and radius fields that define the allowed clock-in boundary.
  4. Enable the geofencing enforcement option in the site object so that the When I Work mobile app blocks or flags clock-ins outside the defined radius.
  5. Test clock-in behavior from a device outside the configured radius to confirm enforcement is active; the mobile app will display an error or warning to the employee.
  6. Monitor time punch records (GET /2/timeclock or equivalent attendance endpoint) for location metadata attached to each punch to audit geofence compliance.

Known gotchas

Related routes

Set up and enforce GPS geofenced clock-ins for cleaning crews in Janitorial Manager
janitorialmanager.com · 5 steps · unrated
Create geofences and exception rules in MyGeotab to trigger alerts when a fleet vehicle enters or exits a zone
developers.geotab.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans