Skip to content

Time Entries

Time entries let your team log hours against projects. Track billable vs. non-billable time, see per-project summaries, and know where your team’s effort is going.

FieldTypeDescription
iduuid
project_iduuid
account_iduuid
user_iduuid
datestring
duration_minutesint
descriptionstring
billablebool
created_atdatetime
updated_atdatetime
user_namestring

Endpoint: time-entries-create

FieldTypeRequiredDescription
project_idstringYes
datestringNo
duration_minutesintYes
descriptionstringNo
billablebool?No
Terminal window
curl -X POST https://api.driftwoodapp.com/api/time-entries-create \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"project_id": "...", "duration_minutes": 0}'

Endpoint: time-entries-delete

FieldTypeRequiredDescription
idstringYes
Terminal window
curl -X POST https://api.driftwoodapp.com/api/time-entries-delete \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"id": "..."}'

Endpoint: time-entries-list

FieldTypeRequiredDescription
project_idstringYes
Terminal window
curl -X POST https://api.driftwoodapp.com/api/time-entries-list \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"project_id": "..."}'

Endpoint: time-entries-summary

FieldTypeRequiredDescription
project_idstringYes
Terminal window
curl -X POST https://api.driftwoodapp.com/api/time-entries-summary \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"project_id": "..."}'

Endpoint: time-entries-update

FieldTypeRequiredDescription
idstringYes
datestringNo
duration_minutesint?No
descriptionstring?No
billablebool?No
Terminal window
curl -X POST https://api.driftwoodapp.com/api/time-entries-update \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"id": "..."}'