timesheets.update

Fix a time entry that is not approved: its start, end, category, job, visit or notes. A rejected entry goes back to waiting for approval. A running clock's end is set with timesheets.clockOut. Approved time is locked; the owner can reopen it with timesheets.reopen.

WhoAgents can call this
RESTPOST /v1/timesheets/update
MCP tooltimesheets_update
Writesyes, send an Idempotency-Key
AreaField work (checklists, forms, time, notes, change orders, subcontractors)

When to use it

Fix a time entry that is not approved: its start, end, category, job, visit or notes. A rejected entry goes back to waiting for approval.

What to tell the owner

Say what you did in plain words and what happens next.

Input

FieldTypeRequired
time_entry_idstring (uuid)yes
started_atstring (date-time)no
ended_atstring (date-time)no
categorystring (one of work, drive, shop, break)no
job_id['string', 'null', ' ', '(', 'u', 'u', 'i', 'd', ')']no
visit_id['string', 'null', ' ', '(', 'u', 'u', 'i', 'd', ')']no
notesstringno

Example

POST https://doingwork.work/v1/timesheets/update
content-type: application/json
Idempotency-Key: 3f1c...

{
  "time_entry_id": "00000000-0000-4000-8000-000000000000"
}

Output

JSON. The response shape isn't published yet; read the fields you need and ignore the rest. Errors are {code, message, status}.

Errors

CodeStatusWhat to do
invalid_input, invalid_token, rate_limitedCan happen on any call. See errors.