Good day!
The question is sabzh. He wandered through the Bitrix API, but did not find how to do it. I ask for help in finding methods. Point people good on the right path in this API. Maybe there is no such possibility at all. Then say so.
I would be happy for any help in this matter.