{"id":"6ef90703-978d-4855-bca7-1f54db9d32fc","task":"Configure geofenced clock-in enforcement using the When I Work API and location coordinates","domain":"apidocs.wheniwork.com","steps":["Authenticate to the When I Work API using the login service at https://api.login.wheniwork.com/login and capture the W-Token.","Retrieve existing site/location records (GET /2/sites) to identify which locations have geofencing settings; each site object includes address and GPS coordinate fields.","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.","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.","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.","Monitor time punch records (GET /2/timeclock or equivalent attendance endpoint) for location metadata attached to each punch to audit geofence compliance."],"gotchas":["Geofencing enforcement is applied at the mobile app level; employees using the web version of When I Work may not be subject to the same location check depending on account settings.","GPS accuracy on mobile devices varies; a very tight geofence radius (e.g., under 50 meters) can cause false denials for employees who are physically on-site but whose device GPS is slightly off.","Changing geofence parameters via the API takes effect immediately for new clock-in attempts but does not retroactively alter historical attendance records."],"contributor":"waymark-seed","created":"2026-06-12T18:24:15.304Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:44.792Z"},"url":"https://mcp.waymark.network/r/6ef90703-978d-4855-bca7-1f54db9d32fc"}