Update a time entry
curl --request PATCH \ --url https://example.com/api/v1/time-entries/example \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "date": "example", "description": "example", "externalLinkUrl": "https://example.com", "moveReason": "example", "orderActivityTypeId": "example", "orderId": "example", "startTime": "example", "tagIds": [ "example" ], "taskId": "example" }'Updates an entry owned by the caller; editing another member’s entry requires the time.edit_team permission. Moving the entry to another order with orderId requires a moveReason, kept in the order’s change log. Refused with 409 PERIOD_LOCKED when the entry’s date falls in an audited or auto-locked period of either order.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Resource identifier (CUID2).
Resource identifier (CUID2).
Request Body
Section titled “Request Body”object
Example generated
{ "date": "example", "description": "example", "externalLinkUrl": "https://example.com", "moveReason": "example", "orderActivityTypeId": "example", "orderId": "example", "startTime": "example", "tagIds": [ "example" ], "taskId": "example"}Responses
Section titled “Responses”The updated time entry.
object
A logged time record. Duration is derived from timestamps.
object
The entry’s order by name. Present on GET /time-entries; the other endpoints that return an entry omit it, and so does an older server.
object
How the timer picker shows the order: <code> · <name>, or its name when it has no code.
Example generated
{ "data": { "createdAt": "2026-04-15T12:00:00Z", "description": "example", "externalLinkUrl": "example", "id": "example", "memberId": "example", "order": { "id": "example", "name": "example" }, "orderActivityTypeId": "example", "orderId": "example", "startedAt": "2026-04-15T12:00:00Z", "stoppedAt": "2026-04-15T12:00:00Z", "task": { "id": "example", "number": 1, "title": "example" }, "taskId": "example", "updatedAt": "2026-04-15T12:00:00Z" }}Validation error. Parse failures include field paths and expectations.
Validation error with safe field paths and expected values; submitted values are never returned.
object
object
Stable machine-readable error code.
object
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Not found.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Conflict.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Invalid input.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC