Contractor portal

timesheet.get

Read one of your pay periods, by id or by a date in it, with its entries, custom fields, due date, pay date, and any hour limits in your agreement with how many hours are left this week, this month and in total.

GETPOST/api/v1/contractor/timesheet.get

Permissions

contractor:read

Who can call it

contractor

Retries

Safe to retry: it only reads

MCP

contractor_timesheet_get

Fields

  • periodIdstring (ID)

    The ID of a contractor pay period.

  • datestring (date)

    A date, as YYYY-MM-DD.

Example

curl https://app.getoatmilk.com/api/v1/contractor/timesheet.get \
  -H "Authorization: Bearer $OATMILK_OAUTH_TOKEN" \
  -H "X-Accounting-Organization: $OATMILK_ORGANIZATION_ID"
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/contractor/timesheet.get
curl https://app.getoatmilk.com/api/v1/contractor/timesheet.get \
  -H "Authorization: Bearer $OATMILK_OAUTH_TOKEN" \
  -H "X-Accounting-Organization: $OATMILK_ORGANIZATION_ID"

More in Contractor portal.