Timesheets

List of timesheets

Changed on

Lists timesheet entries across all contracts you can access, for a cross-contract view. Organization admins get the organization-wide set, while other callers get only the entries they can access. To stay within one contract use GET /contracts/{contract_id}/timesheets, or use GET /timesheets/{timesheet_id} when you already have an id.

Token scopes: timesheets:read

get/timesheets

Request

  • Base URL
    https://api.letsdeel.com/rest
  • Auth
    HTTP bearer

Query parameters

contract_id, string

Filter results to timesheets belonging to this Deel contract ID.

contract_types, TimesheetsGetParametersContractTypesSchemaItems[]

Filter results to timesheets associated with the specified contract types.

statuses, TimesheetsGetParametersStatusesSchemaItems[]

Filter results to timesheets with the specified statuses.

reporter_id, string uuid

Filter results to timesheets submitted by this user ID.

date_from, string date

Filter results to timesheets submitted on or after this date (inclusive). Short date in format ISO-8601 (YYYY-MM-DD). For example: 2022-12-31.

date_to, string date

Filter results to timesheets submitted before this date (exclusive). Short date in format ISO-8601 (YYYY-MM-DD). For example: 2022-12-31.

limit, string

Maximum number of records to return per page. NOTE: query parameters are passed as strings.

offset, string

Number of records to skip before starting to return results. NOTE: query parameters are passed as strings.

Response

Successful operation.

TimesheetsGetTimesheetsResponse200 required
data, TimesheetsGetResponsesContentApplicationJsonSchemaDataItems[] required

List of timesheet entries matching the requested filters.

page, TimesheetsGetResponsesContentApplicationJsonSchemaPage required

Pagination metadata for the response.

Changes