Skip to content

Time entries

A time entry is time a team member recorded against a project on one day, either typed in or measured by a timer. Each entry has three separate states: whether it is billable, where it is in approval, and where it is in billing.

Everyone can read, add, change and delete their own time, within the locks and approval rules below. Seeing other people’s time depends on the person’s time permissions, at one of three levels. A member who may see only their own time gets only their own entries. A person who may view the time of the people they manage (the Project Manager profile by default) also gets their direct reports’ entries and every entry on the projects they manage. A person who may view all team time, such as an administrator, gets every entry in the business. Adding, changing and deleting other people’s time works the same way, with the permissions to edit managed or all team time. Only the owner of a timer can start, stop or restart it. You can reopen your own sent-back time; reopening another team member’s also needs the permission to approve everyone’s time (approve-team-timesheet). On other people’s entries, billableRate and billableAmount are null unless the person may see team rates. costRate and costAmount are null on every entry, the person’s own included, unless the person may see team cost rates. An invoice number is null unless the person may view invoices.

One piece of time a team member recorded against a project on one day, typed in or measured by a timer.

Field Type Description
id string The time entry’s id. Read only.
entryDate date The day the time was worked, as the team member’s own calendar day.
member object The team member whose time this is: { id, name }. id is the team member id used everywhere in this API. Read only.
client object The client of the entry’s project: { id, name }. Null when the project has no client. Read only. Can be null.
project object The project: { id, name, code }; code is null when the project has none. Null only if the project was deleted. Read only. Can be null.
workType object The kind of work: { id, name }. Null when no work type was chosen. Read only. Can be null.
task object The board task this time was logged against: { id, name }. Null when none. Read only. Can be null.
subtask object The subtask of that board task: { id, name }. Null when none. Read only. Can be null.
notes string The notes written on the entry. Null when there are none. Can be null.
seconds integer The exact duration in seconds. For a running timer, includes the time on the clock up to the moment of the request.
hours decimal The same duration in decimal hours, rounded to two decimals.
roundedHours decimal The duration after the business’s time-rounding setting, as used for budgets, invoices and summary reports. Equals hours when rounding is off. Read only.
entryType string How the time was recorded: timer (measured by a timer) or manual (typed in). Read only.
isRunning boolean True while the timer is ticking. Read only.
isPaused boolean True while the timer is paused: it is not ticking but has not been stopped. A paused timer’s time is not yet counted in totals, and the entry cannot be submitted until the timer is stopped. Read only.
startedAt datetime When the timer first started, or the start time typed in for a clock-time entry. Null for time typed as a duration. Can be null.
stoppedAt datetime When the timer was stopped, or the end time typed in for a clock-time entry. Null while a timer is running or paused, and for time typed as a duration. Can be null.
pausedAt datetime When a paused timer was paused. Null unless isPaused is true. Read only. Can be null.
isBillable boolean Whether the time bills to the client. Always false on a project that does not bill time, whatever was chosen on the entry.
billableRate decimal The hourly rate this time bills at, fixed when the entry was saved. 0 on a project that does not bill time. Null on another team member’s entry unless the person may view team rates; always shown on the person’s own entries. Read only. Can be null.
billableAmount decimal Billable time multiplied by the billable rate; 0 for non-billable time. On a running timer this is the amount saved so far; it is brought up to date when the timer stops. Null on another team member’s entry unless the person may see team rates; always shown on the person’s own entries. Read only. Can be null.
currency string ISO currency code of billableRate and billableAmount: the project’s currency, else its client’s, else the business’s. Read only.
costRate decimal The hourly cost of this person’s time, fixed when the entry was saved. Null unless the person may view team cost rates — including on their own entries. Read only. Can be null.
costAmount decimal Time multiplied by the cost rate, for all time, billable or not. Null unless the person may see team cost rates, including on their own entries. Read only. Can be null.
costCurrency string ISO currency code of costRate and costAmount: always the business’s currency. Null when costRate is null. Read only. Can be null.
approvalStatus string Where the entry is in approval: draft (not submitted), submitted (waiting for approval), approved, or sentBack (an approver sent it back; reopen it with Reopen a time entry before changing it or submitting it again). Read only.
submittedAt datetime When the entry was last submitted for approval. Null if never submitted. Read only. Can be null.
approvedAt datetime When the entry was approved. Null unless approvalStatus is approved. Read only. Can be null.
approvedBy object The team member who approved it: { id, name }. Null unless approved; may also be null on approved time whose approver was not recorded. Read only. Can be null.
sentBackAt datetime When an approver sent the entry back. Null unless approvalStatus is sentBack. Read only. Can be null.
sentBackBy object The team member who sent it back: { id, name }. Null unless sent back. Read only. Can be null.
sentBackReason string The reason the approver gave for sending it back. Null unless sent back. Read only. Can be null.
billingStatus string Where the time is in billing: unbilled, billed (on an invoice), paid (that invoice is paid), or void (taken off its invoice or cancelled). Read only.
invoice object The invoice this time is on: { id, number }. id is null when the invoice was issued outside OneSuite and only its number is recorded. Null when the time is not on an invoice, including time marked as invoiced by hand. Number is null unless the person may view invoices; id is always given. Read only. Can be null.
isLocked boolean True when the entry can no longer be changed as it stands: its day is locked, it is on an invoice, it is approved, or it was sent back. Administrators may still change the notes and duration of an entry that is locked because its day is locked, it is invoiced or it is approved. Read only.
lockedReason string Why the entry is locked, or null: periodLocked (its day is on or before the business’s lock date, or it was locked by an administrator), invoiced (billing status is not unbilled), approved, or sentBack. When several apply, the first in this order is given. Read only. Can be null.
externalReferenceUrl string A link to the work this time was for elsewhere (a card, an issue, a to-do). Can be null.
createdAt datetime When the entry was created. Read only.
updatedAt datetime When the entry last changed. Read only.

Returns the time entries the person may see, newest day first, and newest entry first within a day. Running and paused timers are included. Filters only narrow what the person may see: naming a team member they may not see returns an empty page, not an error.

GET /v1/time-entries

Parameters

Parameter In Type Required Description
from query date No Only entries on or after this day.
to query date No Only entries on or before this day.
filterMemberIds query string No Comma-separated team member ids.
filterClientIds query string No Comma-separated client ids (matched through each entry’s project).
filterProjectIds query string No Comma-separated project ids.
filterWorkTypeIds query string No Comma-separated work type ids. Include unassigned for entries with no work type.
filterTaskIds query string No Comma-separated board task ids. Include unassigned for entries with no task.
approvalStatus query string No draft, submitted, approved or sentBack.
billingStatus query string No unbilled, billed, paid or void.
isBillable query boolean No true for billable time only; false for non-billable time only (time on projects that do not bill time counts as non-billable).
isRunning query boolean No true for timers that are ticking now; false for everything else, paused timers included.
isPaused query boolean No true for paused timers only; false to leave them out.
updatedSince query datetime No Only entries changed at or after this moment. Records deleted since then are not reported.
sortField query string No entryDate (default), createdAt, updatedAt or hours.
sortOrder query string No desc (default) or asc.
page query integer No Page number, from 1. Default 1.
limit query integer No Rows per page. Default 20, at most 1000.

Rules

  • 200 with only the entries the person may see. A team member who may see only their own time gets only their own entries; this is never an error.
  • 400 when approvalStatus, billingStatus, sortField or sortOrder has an unknown value, or a day is not in YYYY-MM-DD form.
  • 200 with entries that still exist only: deleted entries are not reported, so updatedSince cannot tell you that an entry was deleted.

Example request

Terminal window
curl "https://api.onesuite.io/v1/time-entries?from=2026-11-16&to=2026-11-22&filterProjectIds=cm1d4e5f60023rs08a1b2c3dd&limit=2" \
-H "X-API-Key: $ONESUITE_TOKEN"

Example response — status 200

{
"data": [
{
"id": "cm3n0a1b20009zz08c3d4e5ff",
"entryDate": "2026-11-20",
"member": {
"id": "cm1a7rt0p0002mz08k4h1w9ce",
"name": "Jordan Lee"
},
"client": {
"id": "cm1b2c3d40011pq08x7y8z9aa",
"name": "Northwind Studio"
},
"project": {
"id": "cm1d4e5f60023rs08a1b2c3dd",
"name": "Website relaunch",
"code": "103"
},
"workType": {
"id": "cm1g7h8i90031tu08e4f5g6hh",
"name": "Design"
},
"task": null,
"subtask": null,
"notes": "Client call prep",
"seconds": 1830,
"hours": 0.51,
"roundedHours": 0.51,
"entryType": "timer",
"isRunning": true,
"isPaused": false,
"startedAt": "2026-11-20T10:15:00.000Z",
"stoppedAt": null,
"pausedAt": null,
"isBillable": true,
"billableRate": 120,
"billableAmount": 0,
"currency": "USD",
"costRate": 55,
"costAmount": 0,
"costCurrency": "USD",
"approvalStatus": "draft",
"submittedAt": null,
"approvedAt": null,
"approvedBy": null,
"sentBackAt": null,
"sentBackBy": null,
"sentBackReason": null,
"billingStatus": "unbilled",
"invoice": null,
"isLocked": false,
"lockedReason": null,
"externalReferenceUrl": null,
"createdAt": "2026-11-20T10:15:00.204Z",
"updatedAt": "2026-11-20T10:15:00.204Z"
},
{
"id": "cm3k9x2qa0007lq0816v2b4dr",
"entryDate": "2026-11-18",
"member": {
"id": "cm1a7rt0p0002mz08k4h1w9ce",
"name": "Jordan Lee"
},
"client": {
"id": "cm1b2c3d40011pq08x7y8z9aa",
"name": "Northwind Studio"
},
"project": {
"id": "cm1d4e5f60023rs08a1b2c3dd",
"name": "Website relaunch",
"code": "103"
},
"workType": {
"id": "cm1g7h8i90031tu08e4f5g6hh",
"name": "Design"
},
"task": {
"id": "cm2j1k2l30045vw08i7j8k9ll",
"name": "Homepage hero"
},
"subtask": null,
"notes": "Hero layout, second round of revisions",
"seconds": 9000,
"hours": 2.5,
"roundedHours": 2.5,
"entryType": "timer",
"isRunning": false,
"isPaused": false,
"startedAt": "2026-11-18T14:00:00.000Z",
"stoppedAt": "2026-11-18T16:30:00.000Z",
"pausedAt": null,
"isBillable": true,
"billableRate": 120,
"billableAmount": 300,
"currency": "USD",
"costRate": 55,
"costAmount": 137.5,
"costCurrency": "USD",
"approvalStatus": "approved",
"submittedAt": "2026-11-19T09:12:44.120Z",
"approvedAt": "2026-11-19T15:03:10.482Z",
"approvedBy": {
"id": "cm1a7rt0p0001mz08q2w3e4rr",
"name": "Sam Rivera"
},
"sentBackAt": null,
"sentBackBy": null,
"sentBackReason": null,
"billingStatus": "billed",
"invoice": {
"id": "cm3p5q6r70052xy08m1n2o3pp",
"number": "INV-0042"
},
"isLocked": true,
"lockedReason": "invoiced",
"externalReferenceUrl": "https://tracker.example.com/issues/481",
"createdAt": "2026-11-18T14:00:00.512Z",
"updatedAt": "2026-11-20T08:41:27.906Z"
}
],
"totalCount": 14,
"page": 1,
"limit": 2
}

Returns one time entry the person may see.

GET /v1/time-entries/:id

Parameters

Parameter In Type Required Description
id path string Yes The time entry id.

Rules

  • 404 when the entry does not exist or the person may not see it.

Example request

Terminal window
curl "https://api.onesuite.io/v1/time-entries/cm3k9x2qa0007lq0816v2b4dr" \
-H "X-API-Key: $ONESUITE_TOKEN"

Example response — status 200

{
"data": {
"id": "cm3k9x2qa0007lq0816v2b4dr",
"entryDate": "2026-11-18",
"member": {
"id": "cm1a7rt0p0002mz08k4h1w9ce",
"name": "Jordan Lee"
},
"client": {
"id": "cm1b2c3d40011pq08x7y8z9aa",
"name": "Northwind Studio"
},
"project": {
"id": "cm1d4e5f60023rs08a1b2c3dd",
"name": "Website relaunch",
"code": "103"
},
"workType": {
"id": "cm1g7h8i90031tu08e4f5g6hh",
"name": "Design"
},
"task": {
"id": "cm2j1k2l30045vw08i7j8k9ll",
"name": "Homepage hero"
},
"subtask": null,
"notes": "Hero layout, second round of revisions",
"seconds": 9000,
"hours": 2.5,
"roundedHours": 2.5,
"entryType": "timer",
"isRunning": false,
"isPaused": false,
"startedAt": "2026-11-18T14:00:00.000Z",
"stoppedAt": "2026-11-18T16:30:00.000Z",
"pausedAt": null,
"isBillable": true,
"billableRate": 120,
"billableAmount": 300,
"currency": "USD",
"costRate": 55,
"costAmount": 137.5,
"costCurrency": "USD",
"approvalStatus": "approved",
"submittedAt": "2026-11-19T09:12:44.120Z",
"approvedAt": "2026-11-19T15:03:10.482Z",
"approvedBy": {
"id": "cm1a7rt0p0001mz08q2w3e4rr",
"name": "Sam Rivera"
},
"sentBackAt": null,
"sentBackBy": null,
"sentBackReason": null,
"billingStatus": "billed",
"invoice": {
"id": "cm3p5q6r70052xy08m1n2o3pp",
"number": "INV-0042"
},
"isLocked": true,
"lockedReason": "invoiced",
"externalReferenceUrl": "https://tracker.example.com/issues/481",
"createdAt": "2026-11-18T14:00:00.512Z",
"updatedAt": "2026-11-20T08:41:27.906Z"
}
}

Records time in one of three ways. Send hours or seconds to record a duration. Send startedAt and stoppedAt to record a span of clock time; the duration is the difference. Send neither to start a timer for yourself now. Starting a timer stops any other timer you have running or paused. Rates are taken from the project and the team member, as in the app.

POST /v1/time-entries

Parameters

Parameter In Type Required Description
projectId body string Yes The project.
workTypeId body string No The work type. Required when the project has a list of work types; must be one of them.
taskId body string No A board task on the same project.
subtaskId body string No A subtask of that task.
memberId body string No The team member whose time this is. Defaults to the token’s own team member. A timer can be started only for yourself (403 otherwise).
entryDate body date No The day worked. Defaults to today in the team member’s time zone.
hours body decimal No Duration in decimal hours. Do not combine with seconds or with startedAt/stoppedAt.
seconds body integer No Duration in seconds, for an exact duration. Do not combine with hours or with startedAt/stoppedAt.
startedAt body datetime No Start of a clock-time span. Send together with stoppedAt.
stoppedAt body datetime No End of a clock-time span. Send together with startedAt.
notes body string No Notes. Required when the business requires notes on every entry (not when starting a timer).
isBillable body boolean No Whether the time is billable. Defaults to true. Ignored, and stays false, where the project or work type does not bill.
externalReferenceUrl body string No A link to the related work elsewhere.

Rules

  • 201 with the new entry. A started timer comes back with isRunning true.
  • 400 when hours/seconds and a clock span are both sent, when only one of startedAt/stoppedAt is sent, when stoppedAt is before startedAt, or when a typed duration is under 2 minutes or over 24 hours.
  • 400 when the project does not exist or is archived, when the work type is missing or not on the project, when the task is not on the project, or when notes are required and missing.
  • 403 when adding time for a team member the person may not add time for, when that team member (or the person, for their own time) is not on the project, or when starting a timer for anyone but yourself.
  • 400 when time is added for a team member who has been invited but has not joined yet.
  • 409 when the day is on or before the business’s lock date, or the project has already been invoiced through that day.
  • 409 when starting a timer would have to stop your other timer and that timer cannot be stopped (for example notes are required and it has none); your other timer keeps running.

Example request

Terminal window
curl "https://api.onesuite.io/v1/time-entries" \
-X POST \
-H "X-API-Key: $ONESUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"projectId":"cm1d4e5f60023rs08a1b2c3dd","workTypeId":"cm1g7h8i90031tu08e4f5g6hh","entryDate":"2026-11-19","hours":1.5,"notes":"Wireframes for pricing page"}'

Example response — status 201

{
"data": {
"id": "cm3q1r2s30014ab08t5u6v7ww",
"entryDate": "2026-11-19",
"member": {
"id": "cm1a7rt0p0002mz08k4h1w9ce",
"name": "Jordan Lee"
},
"client": {
"id": "cm1b2c3d40011pq08x7y8z9aa",
"name": "Northwind Studio"
},
"project": {
"id": "cm1d4e5f60023rs08a1b2c3dd",
"name": "Website relaunch",
"code": "103"
},
"workType": {
"id": "cm1g7h8i90031tu08e4f5g6hh",
"name": "Design"
},
"task": null,
"subtask": null,
"notes": "Wireframes for pricing page",
"seconds": 5400,
"hours": 1.5,
"roundedHours": 1.5,
"entryType": "manual",
"isRunning": false,
"isPaused": false,
"startedAt": null,
"stoppedAt": null,
"pausedAt": null,
"isBillable": true,
"billableRate": 120,
"billableAmount": 180,
"currency": "USD",
"costRate": 55,
"costAmount": 82.5,
"costCurrency": "USD",
"approvalStatus": "draft",
"submittedAt": null,
"approvedAt": null,
"approvedBy": null,
"sentBackAt": null,
"sentBackBy": null,
"sentBackReason": null,
"billingStatus": "unbilled",
"invoice": null,
"isLocked": false,
"lockedReason": null,
"externalReferenceUrl": null,
"createdAt": "2026-11-20T11:02:13.377Z",
"updatedAt": "2026-11-20T11:02:13.377Z"
}
}

Changes the fields sent and leaves the rest as they are. Send externalReferenceUrl: null to remove the link. A time entry cannot be moved to another team member.

PATCH /v1/time-entries/:id

Parameters

Parameter In Type Required Description
id path string Yes The time entry id.
projectId body string No Move to another project.
workTypeId body string No Change the work type.
taskId body string No Change or clear (null) the board task.
subtaskId body string No Change or clear (null) the subtask.
entryDate body date No Move to another day.
hours body decimal No New duration in decimal hours.
seconds body integer No New duration in seconds.
startedAt body datetime No New clock start.
stoppedAt body datetime No New clock end.
notes body string No New notes.
isBillable body boolean No Whether the time is billable. Stays false where the project or work type does not bill.
externalReferenceUrl body string No New link, or null to remove it.

Rules

  • 200 with the updated entry.
  • 403 when the person may not change this team member’s time.
  • 409 when the entry is locked: approved, invoiced, sent back, or on a locked day. Administrators may still change the notes, the duration and the clock span of an approved, invoiced or period-locked entry; changing its project, work type, task, day or billable flag is refused for them too.
  • 409 when the entry is sent back: reopen it first with Reopen a time entry, then change it.
  • 409 when the new day or project falls in a locked or already-invoiced period.
  • 400 when a duration is sent for a running or paused timer, when stoppedAt is before startedAt, or when the duration is under 2 minutes or over 24 hours.
  • 400 when memberId is sent: an entry cannot be moved to another team member.

Example request

Terminal window
curl "https://api.onesuite.io/v1/time-entries/cm3q1r2s30014ab08t5u6v7ww" \
-X PATCH \
-H "X-API-Key: $ONESUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"hours":1.75,"notes":"Wireframes for pricing page and FAQ"}'

Example response — status 200

{
"data": {
"id": "cm3q1r2s30014ab08t5u6v7ww",
"entryDate": "2026-11-19",
"member": {
"id": "cm1a7rt0p0002mz08k4h1w9ce",
"name": "Jordan Lee"
},
"client": {
"id": "cm1b2c3d40011pq08x7y8z9aa",
"name": "Northwind Studio"
},
"project": {
"id": "cm1d4e5f60023rs08a1b2c3dd",
"name": "Website relaunch",
"code": "103"
},
"workType": {
"id": "cm1g7h8i90031tu08e4f5g6hh",
"name": "Design"
},
"task": null,
"subtask": null,
"notes": "Wireframes for pricing page and FAQ",
"seconds": 6300,
"hours": 1.75,
"roundedHours": 1.75,
"entryType": "manual",
"isRunning": false,
"isPaused": false,
"startedAt": null,
"stoppedAt": null,
"pausedAt": null,
"isBillable": true,
"billableRate": 120,
"billableAmount": 210,
"currency": "USD",
"costRate": 55,
"costAmount": 96.25,
"costCurrency": "USD",
"approvalStatus": "draft",
"submittedAt": null,
"approvedAt": null,
"approvedBy": null,
"sentBackAt": null,
"sentBackBy": null,
"sentBackReason": null,
"billingStatus": "unbilled",
"invoice": null,
"isLocked": false,
"lockedReason": null,
"externalReferenceUrl": null,
"createdAt": "2026-11-20T11:02:13.377Z",
"updatedAt": "2026-11-20T11:20:40.019Z"
}
}

Deletes a time entry. Anyone allowed to change the entry may delete it while it is a draft; administrators may also delete approved entries and entries on a locked day. Deleted entries cannot be recovered.

DELETE /v1/time-entries/:id

Parameters

Parameter In Type Required Description
id path string Yes The time entry id.

Rules

  • 200 with a confirmation message.
  • 403 when the person may not change this team member’s time.
  • 409 when the entry is on an invoice (billingStatus is not unbilled), for administrators too.
  • 409 when the entry is submitted, or sent back (reopen it first with Reopen a time entry). Also 409, for anyone but an administrator, when it is approved or on a locked day.

Example request

Terminal window
curl "https://api.onesuite.io/v1/time-entries/cm3q1r2s30014ab08t5u6v7ww" \
-X DELETE \
-H "X-API-Key: $ONESUITE_TOKEN"

Example response — status 200

{
"message": "Time entry deleted"
}

Stops your own running or paused timer and saves its time. Send notes to set the notes as it stops.

POST /v1/time-entries/:id/stop

Parameters

Parameter In Type Required Description
id path string Yes The time entry id.
notes body string No Notes to save with the stopped entry.

Rules

  • 200 with the stopped entry.
  • 403 when the timer is not the person’s own.
  • 409 when the timer has already been stopped, or the entry is not a timer.
  • 409 when the entry is on an invoice or is no longer a draft.
  • 400 when the business requires notes and the entry has none.

Example request

Terminal window
curl "https://api.onesuite.io/v1/time-entries/cm3n0a1b20009zz08c3d4e5ff/stop" \
-X POST \
-H "X-API-Key: $ONESUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"notes":"Client call prep and agenda"}'

Example response — status 200

{
"data": {
"id": "cm3n0a1b20009zz08c3d4e5ff",
"entryDate": "2026-11-20",
"member": {
"id": "cm1a7rt0p0002mz08k4h1w9ce",
"name": "Jordan Lee"
},
"client": {
"id": "cm1b2c3d40011pq08x7y8z9aa",
"name": "Northwind Studio"
},
"project": {
"id": "cm1d4e5f60023rs08a1b2c3dd",
"name": "Website relaunch",
"code": "103"
},
"workType": {
"id": "cm1g7h8i90031tu08e4f5g6hh",
"name": "Design"
},
"task": null,
"subtask": null,
"notes": "Client call prep and agenda",
"seconds": 2250,
"hours": 0.63,
"roundedHours": 0.63,
"entryType": "timer",
"isRunning": false,
"isPaused": false,
"startedAt": "2026-11-20T10:15:00.000Z",
"stoppedAt": "2026-11-20T10:52:30.000Z",
"pausedAt": null,
"isBillable": true,
"billableRate": 120,
"billableAmount": 75,
"currency": "USD",
"costRate": 55,
"costAmount": 34.38,
"costCurrency": "USD",
"approvalStatus": "draft",
"submittedAt": null,
"approvedAt": null,
"approvedBy": null,
"sentBackAt": null,
"sentBackBy": null,
"sentBackReason": null,
"billingStatus": "unbilled",
"invoice": null,
"isLocked": false,
"lockedReason": null,
"externalReferenceUrl": null,
"createdAt": "2026-11-20T10:15:00.204Z",
"updatedAt": "2026-11-20T10:52:30.118Z"
}
}

Puts one of your own entries back on the clock. A paused timer resumes. A stopped timer or a typed entry restarts and adds to the time it already holds, if it is from today (a day either side is allowed, for time zones). Any other timer you have running or paused is stopped first.

POST /v1/time-entries/:id/restart

Parameters

Parameter In Type Required Description
id path string Yes The time entry id.

Rules

  • 200 with the entry, now running.
  • 403 when the entry is not the person’s own.
  • 409 when the timer is already running.
  • 409 when a stopped timer or typed entry is not from today (a day either side is allowed, for time zones): start a new timer instead.
  • 409 when a stopped timer or typed entry is not a draft, or when the entry is on an invoice or its day is locked.
  • 409 when your other timer cannot be stopped; it keeps running and this entry is unchanged.

Example request

Terminal window
curl "https://api.onesuite.io/v1/time-entries/cm3n0a1b20009zz08c3d4e5ff/restart" \
-X POST \
-H "X-API-Key: $ONESUITE_TOKEN"

Example response — status 200

{
"data": {
"id": "cm3n0a1b20009zz08c3d4e5ff",
"entryDate": "2026-11-20",
"member": {
"id": "cm1a7rt0p0002mz08k4h1w9ce",
"name": "Jordan Lee"
},
"client": {
"id": "cm1b2c3d40011pq08x7y8z9aa",
"name": "Northwind Studio"
},
"project": {
"id": "cm1d4e5f60023rs08a1b2c3dd",
"name": "Website relaunch",
"code": "103"
},
"workType": {
"id": "cm1g7h8i90031tu08e4f5g6hh",
"name": "Design"
},
"task": null,
"subtask": null,
"notes": "Client call prep and agenda",
"seconds": 2250,
"hours": 0.63,
"roundedHours": 0.63,
"entryType": "timer",
"isRunning": true,
"isPaused": false,
"startedAt": "2026-11-20T10:15:00.000Z",
"stoppedAt": null,
"pausedAt": null,
"isBillable": true,
"billableRate": 120,
"billableAmount": 75,
"currency": "USD",
"costRate": 55,
"costAmount": 34.38,
"costCurrency": "USD",
"approvalStatus": "draft",
"submittedAt": null,
"approvedAt": null,
"approvedBy": null,
"sentBackAt": null,
"sentBackBy": null,
"sentBackReason": null,
"billingStatus": "unbilled",
"invoice": null,
"isLocked": false,
"lockedReason": null,
"externalReferenceUrl": null,
"createdAt": "2026-11-20T10:15:00.204Z",
"updatedAt": "2026-11-20T13:05:00.312Z"
}
}

Returns a sent-back time entry to draft so it can be changed, deleted or submitted again, as Reopen does in the app. You can reopen your own sent-back time. Reopening another team member’s sent-back time needs the permission to change their time and also the permission to approve everyone’s time (approve-team-timesheet). Only sent-back entries can be reopened.

POST /v1/time-entries/:id/reopen

Parameters

Parameter In Type Required Description
id path string Yes The time entry id.

Rules

  • 200 with the entry, now with approvalStatus draft.
  • 403 when the person may not change this team member’s time.
  • 403 when the entry is another team member’s and the person may not approve everyone’s time (approve-team-timesheet).
  • 409 when the entry is not sent back (approvalStatus is draft, submitted or approved).
  • 409 when the entry is on an invoice, or its day is in a locked period.
  • 404 when the entry does not exist or the person may not see it.

Example request

Terminal window
curl "https://api.onesuite.io/v1/time-entries/cm3n0a1b20009zz08c3d4e5ff/reopen" \
-X POST \
-H "X-API-Key: $ONESUITE_TOKEN"

Example response — status 200

{
"data": {
"id": "cm3n0a1b20009zz08c3d4e5ff",
"entryDate": "2026-11-17",
"member": {
"id": "cm1a7rt0p0002mz08k4h1w9ce",
"name": "Jordan Lee"
},
"client": {
"id": "cm1b2c3d40011pq08x7y8z9aa",
"name": "Northwind Studio"
},
"project": {
"id": "cm1d4e5f60023rs08a1b2c3dd",
"name": "Website relaunch",
"code": "103"
},
"workType": {
"id": "cm1g7h8i90031tu08e4f5g6hh",
"name": "Design"
},
"task": null,
"subtask": null,
"notes": "Client call prep and agenda",
"seconds": 2250,
"hours": 0.63,
"roundedHours": 0.63,
"entryType": "timer",
"isRunning": false,
"isPaused": false,
"startedAt": "2026-11-17T10:15:00.000Z",
"stoppedAt": "2026-11-17T10:52:30.000Z",
"pausedAt": null,
"isBillable": true,
"billableRate": 120,
"billableAmount": 75,
"currency": "USD",
"costRate": 55,
"costAmount": 34.38,
"costCurrency": "USD",
"approvalStatus": "draft",
"submittedAt": "2026-11-17T17:30:04.512Z",
"approvedAt": null,
"approvedBy": null,
"sentBackAt": null,
"sentBackBy": null,
"sentBackReason": null,
"billingStatus": "unbilled",
"invoice": null,
"isLocked": false,
"lockedReason": null,
"externalReferenceUrl": null,
"createdAt": "2026-11-17T10:15:00.204Z",
"updatedAt": "2026-11-20T09:12:44.031Z"
}
}