Openapi
Create a time entry. Entries in a submitted or approved timesheet week are rejected.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
organizationId*stringuuidThe time entry.
application/jsonagendaItemId?|uuidbillable?booleancustomerId?|nulldurationSeconds*integer0 < value <= 2678400employeeId?stringuuidnote*|length <= 2000source?string"manual""timer""agenda""planning""suggestion"startedAt*stringdate-timetaskId?|uuidReturns the created time entry.
application/jsonagendaItemId*|uuidagendaItemTitle*string|nullbillable*booleancreatedAt*stringcustomerId*|nullcustomerName*string|nulldurationSeconds*integer|nullemployeeId*stringuuidid*stringuuidinvoiceLineId*|uuidlocked*booleannote*string|nullsource*timeEntrySourceSchema"manual""timer""agenda""planning""suggestion"startedAt*stringtaskId*|uuidtaskTitle*string|nulltimesheetId*|uuiduserId*|uuidcurl -X POST 'https://app.localhost/api/v1/organizations/123/time-entries' \ -H 'Content-Type: application/json' \ -d '{ "durationSeconds": 1, "note": "string", "startedAt": "2019-08-24T14:15:22Z"}'{ "agendaItemId": "fcf10a3e-86ff-4f0b-b3a1-6fe18cf934be", "agendaItemTitle": "string", "billable": true, "createdAt": "string", "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac", "customerName": "string", "durationSeconds": 0, "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "invoiceLineId": "01b48345-8495-4ed8-81ba-4399df639395", "locked": true, "note": "string", "source": "manual", "startedAt": "string", "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8", "taskTitle": "string", "timesheetId": "6fbd4179-b0f8-4fe6-8f01-523efdea1505", "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b"}