Retrieve approved employee timesheet and pay-rule cost data from Deputy via its Resource API for payroll processing/export.

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

Steps

  1. Authenticate via Deputy's OAuth 2.0 flow (or a permanent token for a single-install integration) to obtain a Bearer access token scoped to the install.
  2. POST to https://{install}.{geo}.deputy.com/api/v1/resource/Timesheet/QUERY with a search filter (e.g., StartTime greater-than a Unix timestamp) to retrieve timesheet records including break slots, in-progress state, and the PayRuleApproved flag.
  3. POST to the TimesheetPayReturn/QUERY endpoint with a "join": ["TimesheetObject"] parameter to combine pay-rule/cost data with full timesheet detail in a single combined response.
  4. Filter results to timesheets where PayRuleApproved is true before exporting — this is distinct from TimeApproved and is what indicates a timesheet is cleared for payroll.
  5. After export, either mark timesheets as paid (see the Marking a Timesheet as Paid guide) or track the Exported Unix-timestamp field so subsequent pulls don't double-export the same records.
  6. For ongoing sync instead of polling, register a webhook on Timesheet events (see Webhook Overview / Timesheet Webhook Example) to be notified as timesheets are created or approved.

Known gotchas

Related routes

Retrieve and approve Remote.com employee timesheets via the Timesheet API
hr-payroll · 5 steps · unrated
Pull published employee schedules and time-clock punch data from When I Work via its REST API for payroll export.
apidocs.wheniwork.com · 6 steps · unrated
List, review, and approve or decline employee timesheets via the Remote API Timesheets endpoints
developer.remote.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