---
title: "Create a time tracking event for an initiative"
method: POST
path: "/initiatives/{initiative_id}/time_tracking_events"
tags: ["Time tracking events"]
---

# Create a time tracking event for an initiative

`POST /initiatives/{initiative_id}/time_tracking_events`

## Request

- Base URL: `https://company.aha.io/api/v1`
- URL: `https://company.aha.io/api/v1/initiatives/{initiative_id}/time_tracking_events`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://{account-domain}.aha.io/oauth/authorize`
    - Token URL: `https://{account-domain}.aha.io/oauth/token`
  - HTTP bearer
  - API key in cookie `session`
- TypeScript: <https://skmtc.dev/aha/apis/aha-api/docs/initiatives/:initiative_id/time_tracking_events/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `initiative_id` string, required

## Request body

- TimetrackingeventsPostRequest
  - `time_tracking_event` object
    - `user_id` integer
    - `work_done_text` string

## Response `200`

Successful operation

- TimetrackingeventsPostResponse
  - `time_tracking_event` object
    - `id` string
    - `user` object
      - `id` string
      - `name` string
      - `email` string
      - `created_at` string
      - `updated_at` string
    - `occurred_on` string
    - `work_done` number
    - `work_units` integer

## Changes

- **2026-07-13** `0aeec39d0f46`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/aha/apis/aha-api/changes/initiatives/:initiative_id/time_tracking_events/post.md)

---

[API](https://skmtc.dev/aha/apis/aha-api.md) - [All operations](https://skmtc.dev/aha/apis/aha-api/llms.txt) - [OpenAPI document](https://skmtc.dev/aha/apis/aha-api/revisions/7ac0186e1408?raw)
