Approve a timelog(amend)
Timelogs
PUT approve timelog(amend)
Endpoint
PUT /api/v1/timesheets/:timesheet_id/timelogs/:id
Request
Route
PUT /api/v1/timesheets/195/timelogs/224
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNjIwIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYzNjI2NDA1LCJleHAiOjE3NjYyMTg0MDUsImp0aSI6IjdlOGNkODUzLTBmNTAtNGRlYS04NWRiLTI0MjczMGM3ZjQ0YyJ9.L-e09MzwbfvFLLu3VyduNkSkTh0vIlJz7keZoWFQkow
Host: example.org
Cookie:
Body
{
}
Response
Simulated Response
Status
200
Headers
x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"3e1ebba0826e0cf4a456c48ddb4ff3fd"
cache-control: max-age=0, private, must-revalidate
x-request-id: 2ebbf58e-ca2c-4ca0-9c6a-aadd9baf78cb
x-runtime: 0.043411
content-length: 169
Body
{
"timelog": {
"id": 225,
"amend_status": "approved",
"breaks": [
],
"duration": {
"hours": 8,
"minutes": 1
},
"end_at": "2025-11-20T16:13:25.710Z",
"start_at": "2025-11-20T08:12:25.710Z"
}
}