List timesheets
Changed onLists all timesheets.
Authentication
This endpoint accepts any one of the following token types:
- Company-scoped access token (OAuth2AuthorizationCode) — obtained by a company manager through the Authorization Code flow or the Refresh Token flow. See Authentication for partners.
- Company-scoped access token (assertion) (OAuth2CompanyManagerAssertion) — obtained through the urn:ietf:params:oauth:grant-type:jwt-bearer grant for a company manager. See OAuth Assertion.
- Customer API token (CustomerAPIToken) — generated by the customer on their Integration Settings page, with the scopes they choose there. See Authorization for customers.
Scopes
Any one of the scopes in a token type's row is enough. all:read and all:write work too.
| Token type | Category | Read only Scope | Write only Scope (read access implicit) |
|---|---|---|---|
| Company-scoped access token | Manage timeoffs (time_and_attendance) | View timesheets (timesheet:read) | Manage timesheets (timesheet:write) |
| Company-scoped access token (assertion) | Manage timeoffs (time_and_attendance) | View timesheets (timesheet:read) | Manage timesheets (timesheet:write) |
| Customer API token | Manage timeoffs (time_and_attendance) | View timesheets (timesheet:read) | Manage timesheets (timesheet:write) |
Request
- Base URLhttps://gateway.remote.com
- Auth
- OAuth 2Authorization code/auth/oauth2/authorizeToken URL/auth/oauth2/tokenScopeshttps://gateway.remote.com/company.manage
- or OAuth 2Authorization code/auth/oauth2/authorizeToken URL/auth/oauth2/tokenScopestimesheet:read
- or OAuth 2Authorization code/auth/oauth2/authorizeToken URL/auth/oauth2/tokenScopesall:read
- or OAuth 2Authorization code/auth/oauth2/authorizeToken URL/auth/oauth2/tokenScopesall:write
- or OAuth 2Client credentialsToken URL/auth/oauth2/tokenScopestimesheet:read
- or OAuth 2Client credentialsToken URL/auth/oauth2/tokenScopesall:read
- or OAuth 2Client credentialsToken URL/auth/oauth2/tokenScopesall:write
- or HTTP bearer
Query parameters
The current status of a timesheet in its lifecycle.
- open: The timesheet is a draft and only visible to the employee. It has not been submitted yet.
- submitted: The employee has submitted the timesheet for review. It is awaiting approval.
- approved: The timesheet has been approved and will be included in the next payroll run.
- in_calibration: The timesheet was sent back to the employee for revision. The employee needs to correct and resubmit it.
- processed: The timesheet has been processed as part of a payroll run. This is a terminal state.
Filter timesheets by their status
Sort order
Field to sort by
Starts fetching records after the given page
Number of items per page
Response
Success
Response schema listing many timesheets
Example response
{
"current_page": 1,
"timesheets": [
{
"approval_blocked_reason": null,
"approval_required": true,
"break_hours": {
"hours": 35,
"minutes": 13
},
"can_approve": true,
"country_code": "PRT",
"employment_id": "663e0b79-c893-45ff-a1b2-f6dcabc098b5",
"end_date": "2021-07-01",
"holiday_hours": {
"hours": 35,
"minutes": 13
},
"id": "663e0b79-c893-45ff-a1b2-f6dcabc098b5",
"night_hours": {
"hours": 35,
"minutes": 13
},
"notes": "Some notes",
"on_call_hours": {
"hours": 35,
"minutes": 13
},
"overtime_hours": {
"hours": 35,
"minutes": 13
},
"regular_hours": {
"hours": 35,
"minutes": 13
},
"start_date": "2021-07-01",
"status": "submitted",
"submitted_at": "2021-07-15T18:18:17Z",
"time_trackings": [
{
"clock_in": "2021-07-15T18:18:17Z",
"clock_out": "2021-07-15T18:18:17Z",
"has_holiday_hours": false,
"has_night_hours": false,
"has_weekend_hours": false,
"holiday_hours": {
"hours": 35,
"minutes": 13
},
"night_hours": {
"hours": 35,
"minutes": 13
},
"notes": "Time tracking project.",
"time_breakdown": {
"day": {
"holiday": {
"hours": 35,
"minutes": 13
},
"regular": {
"hours": 35,
"minutes": 13
},
"weekend": {
"hours": 35,
"minutes": 13
}
},
"night": {
"holiday": {
"hours": 35,
"minutes": 13
},
"regular": {
"hours": 35,
"minutes": 13
},
"weekend": {
"hours": 35,
"minutes": 13
}
}
},
"timezone": "Etc/UTC",
"total_hours": {
"hours": 35,
"minutes": 13
},
"type": "regular_hours",
"weekend_hours": {
"hours": 35,
"minutes": 13
}
}
],
"top_up_hours": {
"hours": 5,
"minutes": 0
},
"top_up_time_trackings": [
{
"date": "2026-10-11",
"notes": "Guaranteed hours top-up",
"reason": "guaranteed_hours",
"total_hours": {
"hours": 5,
"minutes": 0
},
"type": "top_up"
}
],
"total_hours": {
"hours": 35,
"minutes": 13
},
"unpaid_break_hours": {
"hours": 35,
"minutes": 13
},
"weekend_hours": {
"hours": 35,
"minutes": 13
}
}
],
"total_count": 1,
"total_pages": 1
}Changes
- info
the security scope
https://gateway.remote.com/company.managewas added to the endpoint's security schemeOAuth2AuthorizationCode - info
the security scope
timesheet:readwas added to the endpoint's security schemeOAuth2CompanyManagerAssertion - info
the security scope
all:writewas removed from the endpoint's security schemeOAuth2AuthorizationCode
1 more change in this revision
- info