b24_user_current
Retrieve the current user's profile including ID, name, and admin status.
Instructions
Return the acting user's profile (user.current): id, name, admin flag, etc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 |