Sign in

Create time entry

documented

Create a new time entry.

POST /timetracking/business/{businessId}/time_entriesTime Trackingno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.freshbooks.com/timetracking/business/{{$businessId}}/time_entries" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"time_entry": {"is_logged": {{$is_logged}}, "duration": {{$duration}}, "note": "{{$note}}", "started_at": "{{$started_at}}", "client_id": {{$client_id}}, "identity_id": {{$identity_id}}, "project_id": {{$project_id}}}}'
Create time entry · FreshBooks · OpenIntegrations