Create time entry
documentedCreate a new time entry.
POST /v2/time_entriesTimesheetsno implementation yet0 runsNo 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.harvestapp.com/v2/time_entries" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Harvest-Account-Id: {{GETHARVEST_ACCOUNT_ID}}" \
-H "User-Agent: {{GETHARVEST_APP_NAME}} ({{GETHARVEST_CONTACT}})" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"project_id": {{$project_id}}, "task_id": {{$task_id}}, "spent_date": "{{$spent_date}}", "hours": {{$hours}}, "notes": "{{$notes}}", "user_id": {{$user_id}} }'