Get calendar event
Gets a calendar event by ID
- Parameters
- Advanced call ?
Function GetCalendarEvent(Val URL, Val EventID, Val Token = "") Export
| Parameter | CLI option | Type | Required | Description |
|---|---|---|---|---|
| URL | --url | String | ✔ | URL of webhook or a Bitrix24 domain, when token used |
| EventID | --event | Number | ✔ | Event ID to retrieve |
| Token | --token | String | ✖ | Access token, when app auth method used |
Returns
Map Of KeyAndValue - serialized JSON of answer from Bitrix24 API
| Parameter | Description |
|---|---|
| proxy | InternetProxy or a structure with fields Protocol, Host, Port, User, Password, UseOSAuthentication |
| timeout | Request execution timeout |
| adv_response | Formats the response as a complete HTTP structure with fields code, body, and headers |
| retries | Number of HTTP request send attempts on 5** status codes or internal client errors |
| dontwait | Creates a background job and returns its data (for 1C and OneScript only) |
tip
Method at API documentation: calendar.event.getbyid
1C:Enterprise/OneScript code example
URL = "https://b24-ar17wx.bitrix24.by/rest/1/av5...";
EventID = "3042";
Result = OPI_Bitrix24.GetCalendarEvent(URL, EventID);
URL = "b24-ar17wx.bitrix24.by";
Token = "a5b00469006e9f06006b12e400000001000...";
EventID = "3046";
Result = OPI_Bitrix24.GetCalendarEvent(URL, EventID, Token);
- Bash
- CMD/Bat
oint bitrix24 GetCalendarEvent \
--url "b24-ar17wx.bitrix24.by" \
--event 5340 \
--token "***"
oint bitrix24 GetCalendarEvent ^
--url "b24-ar17wx.bitrix24.by" ^
--event 5340 ^
--token "***"
Result
{
"result": {
"ID": "5372",
"PARENT_ID": "5372",
"DELETED": "N",
"CAL_TYPE": "user",
"OWNER_ID": "1",
"NAME": "New event",
"DATE_FROM": "19.06.2026 17:47:00",
"DATE_TO": "19.06.2026 18:47:00",
"ORIGINAL_DATE_FROM": "***",
"TZ_FROM": "Europe/Minsk",
"TZ_TO": "Europe/Minsk",
"TZ_OFFSET_FROM": "10800",
"TZ_OFFSET_TO": "10800",
"DATE_FROM_TS_UTC": "1781869613",
"DATE_TO_TS_UTC": "1784476020",
"DT_SKIP_TIME": "N",
"DT_LENGTH": 3600,
"EVENT_TYPE": null,
"CREATED_BY": "1",
"DATE_CREATE": "18.06.2026 20:46:54",
"TIMESTAMP_X": "18.06.2026 20:46:54",
"DESCRIPTION": "Event description",
"PRIVATE_EVENT": "1",
"ACCESSIBILITY": "quest",
"IMPORTANCE": "normal",
"IS_MEETING": true,
"MEETING_STATUS": "H",
"MEETING_HOST": "1",
"MEETING": {
"HOST_NAME": "Антон Титовец",
"NOTIFY": true,
"REINVITE": "***",
"ALLOW_INVITE": "***",
"HIDE_GUESTS": true,
"MEETING_CREATOR": 1,
"LANGUAGE_ID": "ru",
"MAIL_FROM": false
},
"LOCATION": "Office",
"REMIND": [
{
"type": "day",
"count": 1
}
],
"COLOR": "#230000",
"RRULE": {
"FREQ": "DAILY",
"COUNT": 3,
"INTERVAL": 10,
"UNTIL": "29.06.2026",
"~UNTIL": "29.06.2026",
"UNTIL_TS": 1782691200
},
"EXDATE": "",
"DAV_XML_ID": "20260619T144700Z-8eb4256e660f80c5dae88e2328195f2d@b24-ar17wx.bitrix24.by",
"G_EVENT_ID": "",
"DAV_EXCH_LABEL": "",
"CAL_DAV_LABEL": "",
"VERSION": "1",
"ATTENDEES_CODES": [
"U1",
"U10"
],
"RECURRENCE_ID": null,
"RELATIONS": "",
"SECTION_ID": "2824",
"SYNC_STATUS": null,
"UF_CRM_CAL_EVENT": null,
"UF_WEBDAV_CAL_EVENT": null,
"SECTION_DAV_XML_ID": null,
"DATE_FROM_FORMATTED": "Fri Jun 19 2026 17:47:00",
"DATE_TO_FORMATTED": "Fri Jun 19 2026 18:47:00",
"IS_DAYLIGHT_SAVING_TZ": "N",
"SECT_ID": "2824",
"OPTIONS": null,
"ATTENDEE_LIST": [
{
"id": 1,
"entryId": "5372",
"status": "H"
},
{
"id": 10,
"entryId": "5374",
"status": "Q"
}
],
"COLLAB_ID": null,
"~RRULE_DESCRIPTION": "каждый 10-й день, от 19.06.2026 до 29.06.2026",
"attendeesEntityList": [
{
"entityId": "user",
"id": 1
},
{
"entityId": "user",
"id": 10
}
],
"~DESCRIPTION": "Event description",
"~USER_OFFSET_FROM": 0,
"~USER_OFFSET_TO": 0
},
"time": {
"start": 1781804816,
"finish": 1781804817.03474,
"duration": 1.0347421169281,
"processing": 0,
"date_start": "2026-06-18T17:46:56+00:00",
"date_finish": "2026-06-18T17:46:57+00:00",
"operating_reset_at": 1781805417,
"operating": 0
}
}