P
P
Pavel Petrov2022-02-03 12:22:00
JavaScript
Pavel Petrov, 2022-02-03 12:22:00

Why does the webhook behave like this?

Good day, citizens. Can you please tell me if the incoming webhook that calls the profile method returns data about the user who created the hook or the user who called it (of course, if he is authorized in Bitrix)? Bitrix of the boxed version
For some reason unknown to me when calling

https://www.domain.ru/rest/244/zv90qicvlc9qrxdasd/profile.json

the data of the same person is given when trying to access the URL from different users of the same portal

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Edward, 2022-02-03
@Hakas_Lepehen

The one whose token you used when calling rest. If you use a saved admin token, then the administrator will be displayed, if you use a token that comes in a POST request to the application frame, then there will be a user who logged into the application.
Source https://dev.1c-bitrix.ru/rest_help/users/user_curr...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question