Skip to main content
POST
Create time entry

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

businessId
string<uuid>
required

The UUID of the business.

Body

application/json
date
string<date>
required

The date the work was performed.

duration_minutes
integer
required

Duration of the time entry in minutes.

external_id
string | null

An optional external identifier. If provided and a time entry with this external_id already exists, the existing entry will be updated.

service_id
string<uuid>

The UUID of the service. Either service_id or service_external_id must be provided.

service_external_id
string

The external ID of the service. Either service_id or service_external_id must be provided.

customer_id
string<uuid> | null

The UUID of the customer to bill (optional).

customer_external_id
string | null

The external ID of the customer to bill (optional).

billable
boolean
default:false

Whether this time entry is billable.

description
string | null

Description of the work performed.

memo
string | null

Optional memo or notes.

metadata
object | null

Custom metadata.

Response

Time entry already exists and was updated.

data
object
required