Contractors

contractors.hours.list

List time entries logged by contractors (date, minutes, description, status draft, submitted, approved or rejected, review reason), filtered by contractorId, status and from and to dates. For timesheets by pay period use contractorOps.timesheets.list.

GETPOST/api/v1/accounting/contractors.hours.list

Permissions

accounting:read

Who can call it

admin, finance

Retries

Safe to retry: it only reads

MCP

accounting_contractors_hours_list

Fields

  • limitinteger

    How many results to return at most.

    1 to 100 · Default 30

  • offsetinteger

    How many results to skip, for the next page of a list.

    0 to 9007199254740991 · Default 0

  • contractorIdstring (ID)

    The ID of a contractor, from contractors.list.

  • statusenum

    Only include records with this status.

    draftsubmittedapprovedrejected
  • fromstring (date)

    The first date to include, as YYYY-MM-DD.

  • tostring (date)

    The last date to include, as YYYY-MM-DD.

Example

curl https://app.getoatmilk.com/api/v1/accounting/contractors.hours.list \
  -H "Authorization: Bearer $OATMILK_API_KEY"
Response
{
  "data": { … }
}

Try it

Try it

Checks your input with this action’s real schema and answers like the API, with synthetic data. No key needed, and nothing changes.

GET/api/v1/accounting/contractors.hours.list
curl https://app.getoatmilk.com/api/v1/accounting/contractors.hours.list \
  -H "Authorization: Bearer $OATMILK_API_KEY"

More in Contractors.