Create time entry

POST/api/v1/time-entries

Log a new time entry.

Operation ID: create_time_entry_api_v1_time_entries_post·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Request body

entry_datestring · daterequired

Date the work was performed.

duration_minutesintegerrequired

Duration in minutes.

descriptionstring

Optional description.

person_namestring

Who performed the work.

customer_idstring

Customer worked for.

project_idstring

Project / job.

catalog_item_idstring

Service item to use as the invoice line.

billableboolean

Whether the time is billable.

rate_centsinteger

Billing rate per hour, in cents.

Responses

201Successful Response

successboolean
messagestring
codestring
dataTimeEntryResponse

400Bad Request - Invalid input

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

404Not Found - Resource does not exist

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject