---
title: "Create Activity"
method: POST
path: "/activity/create"
tags: ["Activity"]
---

# Create Activity

`POST /activity/create`

Create a new activity (system-generated event)

## Request body

- object
  - `taskId` string, required
  - `userId` string, required
  - `message` string, nullable, required
  - `type` string, required
  - `eventData` object, nullable

## Response `200`

Activity created successfully

- object
  - `id` string, required
  - `taskId` string, required
  - `type` 'comment' | 'task' | 'status_changed' | 'priority_changed' | 'unassigned' | 'assignee_changed' | 'due_date_changed' | 'title_changed' | 'description_changed' | 'create', required
  - `createdAt` string, date-time, required
  - `userId` string, nullable, required
  - `content` string, nullable, required
  - `eventData` object, nullable, required
  - `externalUserName` string, nullable, required
  - `externalUserAvatar` string, nullable, required
  - `externalSource` string, nullable, required
  - `externalUrl` string, nullable, required

## Changes

- **2026-07-11** `32cece1ebe43` — 3 breaking, 3 info
  - request body became required
  - the `createdAt` response's property type/format changed from ``/`` to `string`/`date-time` for status `200`
  - the `type` response's property type/format changed from ``/`` to `string`/`` for status `200`
  - added the new optional request property `eventData`
  - …2 more
- **2026-03-05** `c45ef22a736c` — 6 breaking, 6 info
  - the response property `content` became nullable for the status `200`
  - the response property `externalSource` became nullable for the status `200`
  - the response property `externalUrl` became nullable for the status `200`
  - the response property `externalUserAvatar` became nullable for the status `200`
  - …8 more
- **2026-03-04** `298877d6a79a` — 7 breaking
  - response property `content` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - response property `externalSource` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - response property `externalUrl` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - response property `externalUserAvatar` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - …3 more
- …earlier changes not shown

[Full history](https://skmtc.dev/usekaneo/apis/kaneo-api/changes/activity/create/post.md)

---

[API](https://skmtc.dev/usekaneo/apis/kaneo-api.md) · [All operations](https://skmtc.dev/usekaneo/apis/kaneo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usekaneo/kaneo-api/revisions/32cece1ebe43/schema)
