b24_calendar_event_add
Creates a calendar event in Bitrix24 with title, start and end times, and optional details like attendees or location. Returns the new event ID.
Instructions
Create a calendar event (calendar.event.add). Returns the new event id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Event title. | |
| extra | No | Any additional calendar.event.add fields (e.g. {'description':'...','attendees':[1,2],'location':'...'}). | |
| date_to | Yes | End, 'YYYY-MM-DD HH:MM:SS'. | |
| owner_id | No | Calendar owner id. Defaults to the acting user (resolved via user.current) for owner_type='user'. | |
| date_from | Yes | Start, 'YYYY-MM-DD HH:MM:SS'. | |
| owner_type | No | Calendar owner type: 'user' (default) or 'group'. | user |
| section_id | No | Target calendar (section) id. If omitted Bitrix uses the owner's default calendar. | |
| 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 |