Contractor portal

hours.list

List your own time entries, optionally from and to dates.

GETPOST/api/v1/contractor/hours.list

Permissions

contractor:read

Who can call it

contractor

Retries

Safe to retry: it only reads

MCP

contractor_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

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

More in Contractor portal.