Skip to main content

Set user participation status

Sets the event participation status for the current user

Function SetUserParticipationStatus(Val URL, Val EventID, Val Status, Val Token = "") Export

ParameterCLI optionTypeRequiredDescription
URL--urlStringURL of webhook or a Bitrix24 domain, when token used
EventID--eventNumberCalednar event ID
Status--statusStringParticipation status: Y (agreed), N (refused), Q (did not answer)
Token--tokenStringAccess token, when app auth method used
Returns

Map Of KeyAndValue - serialized JSON of answer from Bitrix24 API

tip

Method at API documentation: calendar.meeting.status.set


1C:Enterprise/OneScript code example
URL = "https://b24-ar17wx.bitrix24.by/rest/1/av5...";
EventID = "3042";
Status = "Y";

Result = OPI_Bitrix24.SetUserParticipationStatus(URL, EventID, Status);

URL = "b24-ar17wx.bitrix24.by";
Token = "a5b00469006e9f06006b12e400000001000...";
EventID = "3046";

Result = OPI_Bitrix24.SetUserParticipationStatus(URL, EventID, Status, Token);
oint bitrix24 SetUserParticipationStatus \
--url "b24-ar17wx.bitrix24.by" \
--event 4684 \
--status "Y" \
--token "***"
Result
{
"result": true,
"time": {
"start": 1779804985,
"finish": 1779804985.68079,
"duration": 0.680787086486816,
"processing": 0,
"date_start": "2026-05-26T14:16:25+00:00",
"date_finish": "2026-05-26T14:16:25+00:00",
"operating_reset_at": 1779805585,
"operating": 0
}
}