Start a new timer
curl --request POST \ --url https://example.com/api/v1/timer/start \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "description": "example", "externalLinkUrl": "https://example.com", "orderActivityTypeId": "example", "orderId": "example", "tagIds": [ "example" ], "taskId": "example" }'Starts a running timer for the caller, optionally on a task. Requires the time.track_own permission. Fails when a timer is already running, when the order is archived, or when workspace entry rules (required notes or external link) are not met.
Authorizations
Section titled “Authorizations”Request Body
Section titled “Request Body”object
The order activity type to log against. Omit it and the member’s default activity type is used when the order offers it; otherwise the entry has none.
The task the timer is logged against. A task that is missing, Personal or out of the caller’s reach answers 404. Omit it and a Chelsea task link in externalLinkUrl supplies the task when the caller can reach it; otherwise the timer starts without a task.
Example generated
{ "description": "example", "externalLinkUrl": "https://example.com", "orderActivityTypeId": "example", "orderId": "example", "tagIds": [ "example" ], "taskId": "example"}Responses
Section titled “Responses”Timer started (data is null).
object
Example generated
{ "data": "example"}Invalid body, archived order, or workspace entry rules not met.
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" }}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" }}The task named by taskId is missing, in a Personal project or outside the caller’s reach. The answer is the same in every case.
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" }}A timer is already running.
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