Authenticate to the Deputy API using OAuth 2.0 and retrieve timesheets for a date range

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. Register an OAuth client at https://once.deputy.com/my/oauth_clients to obtain a Client ID and Client Secret.
  2. Direct the user through the OAuth 2.0 authorization code flow; exchange the authorization code for an access token and refresh token at the Deputy token endpoint.
  3. Store the access token and use it as a Bearer token in the Authorization header for all subsequent requests to your install-specific base URL: https://{install}.{geo}.deputy.com/api/v1.
  4. Query the Timesheet resource (GET /resource/Timesheet/QUERY) with a date-filter payload specifying start and end epoch timestamps to retrieve timesheet records.
  5. Page through results—Deputy caps list responses at 500 records per page—using offset/limit parameters until all records are collected.
  6. Use the refresh token to obtain a new access token before the current one expires; do not hard-code token lifetimes as they are returned in the token response.

Known gotchas

Related routes

Authenticate to the QuickBooks Time (TSheets) API using OAuth 2.0 and retrieve employee timesheets
tsheetsteam.github.io/api_docs · 6 steps · unrated
Subscribe to Deputy API webhooks to receive real-time notifications of timesheet approvals
developer.deputy.com · 6 steps · unrated
Retrieve and approve Remote.com employee timesheets via the Timesheet API
hr-payroll · 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