---
title: "Add tasks"
method: POST
path: "/api/v4/tasks"
---

# Add tasks

`POST /api/v4/tasks`

This method allows adding multiple tasks.

## Headers

- `Content-Type` string

## Request body

- object
  - `RAW_BODY` object[]
    - `responsible_user_id` integer — Task responsible user ID, current user ID by default
    - `entity_id` integer — ID of the entity the task is linked to
    - `entity_type` 'leads' | 'contacts' | 'companies' — Type of the entity the task is linked to
    - `is_completed` boolean — Defines whether the task is completed
    - `task_type_id` integer — Task type
    - `text` string, required — Task description
    - `duration` integer — Task duration in seconds
    - `complete_till` integer, required — Task deadline date in the format of Unix Timestamp
    - `result` object — Task result
      - `text` string — Task result text
    - `created_by` integer — ID of the user who created the task.
    - `updated_by` integer — ID of the user who edited the task last.
    - `created_at` integer — Task creation date in the format of Unix Timestamp.
    - `updated_at` integer — Task edit date in the format of Unix Timestamp.
    - `request_id` string — Field that will be returned unchanged in the response and will not be saved.

## Response `200`

Request successful

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/kommo/apis/kommo-api-references.md) · [All operations](https://skmtc.net/kommo/apis/kommo-api-references/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kommo/kommo-api-references/versions/f17af4d23c7c/schema)
