b24_task_add
Creates a task in Bitrix24 with required title and responsible user; returns the new task ID.
Instructions
Create a task (tasks.task.add). Returns {"task": {...}} with the new id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Task fields. TITLE and RESPONSIBLE_ID are required, e.g. {'TITLE':'Do X','RESPONSIBLE_ID':1,'DEADLINE':'2026-08-01T18:00:00','GROUP_ID':10}. | |
| webhook_url | No | Override the default incoming webhook for this call (https://<portal>/rest/<user_id>/<token>/). If omitted, uses personal_webhook, then the X-B24-Webhook HTTP header, then the BITRIX_WEBHOOK_URL env default. | |
| personal_webhook | No | Act as a specific user (their personal incoming webhook). Takes precedence over webhook_url. Required to write to the portal under that user's permissions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |