Kimai icon

Kimai

Interact with Kimai time-tracking API

Activity → Create

AI-generated

Summary

Create a new Kimai activity

Inputs

  • name (required) — Activity name
  • project — Project ID to associate with the activity
  • teams — Team ID to assign to the activity
  • number — Activity number
  • comment — Comment for the activity
  • billable — Whether the activity is billable (default true)
  • visible — Visibility status (default true)
  • color — Color identifier for the activity
  • invoiceText — Invoice text associated with the activity
  • requestOptions — HTTP request options such as proxy, timeout, and SSL verification

Output shape

a single activity object

Returns the created activity including generated fields like id; may include additional server‑populated fields.

Examples

Example 1: Create an activity named 'Team Meeting' for project 12, marked billable

Set Name='Team Meeting', Project ID='12', Billable=true; all other fields use defaults.

Discussion