b24_lists_element_add
Add a new element to a Bitrix24 list by specifying list type, ID, and fields. Returns the ID of the created element.
Instructions
Create a list element (lists.element.add). Returns the new element id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Element fields, e.g. {'NAME':'Row 1','PROPERTY_123':'value'}. | |
| iblock_id | Yes | Information-block id of the list (numeric IBLOCK_ID). | |
| 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. | |
| iblock_type_id | Yes | Information-block type, e.g. 'lists' (portal lists), 'bitrix_processes' (workflows), 'lists_socnet' (group lists). | |
| 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 |