Bitrix24 CLI configuration
Choose what each profile may change in Bitrix24, and which runs the CLI keeps.
Change how b24 works for one portal, or for every portal on this computer, with one command, and see where each
value came from. You change only the few that matter to you, and the rest keep their defaults or stay unset.
You decide, for example, what an agent may do, or whether call recordings are copied. Only you can loosen a permission: an agent that tries is refused.
Settings live in one file, config.json, in the folder b24 doctor shows. Each profile has its own part, and
defaults apply to every profile. b24 work config shows and changes them.
On this page:
See and change a setting
b24 work config show
b24 work config set limit 50
b24 work config unset limitconfig show lists each setting and where it came from: the file, a variable or the default.
Permissions
permissions decides what a command may do for this profile: allow, ask, readonly or deny, per permission
key. Over MCP ask does not ask: the write goes ahead. The keys, their built-in levels and how to keep an agent's
writes yours are on Permissions.
Calls
download_recordings (true or false, false when not set) downloads each call's recording at meetings sync
and keeps it in the state folder. phone_region (a country code, such as ru, or several: ru,kz) is the country
of a caller's number the portal writes without +. sync_calls (true when not set) makes sync copy the calls
too. export_calls (false when not set) lets calls export write other phone systems' calls into Bitrix24. All
four are on Calls.
CRM relationships
Two settings of the shared store, not of a profile, say how the sync stores relationships:
crm.bitrix24:<portal>.links (reported or review) and crm.bitrix24:<portal>.company-types (what each company
type means). Who is who shows both.
Run records
A command that fails is kept as a run, for b24 runs list and runs show. A command that calls the portal is kept
when it succeeds too, with the requests it made, unless record is false (then only failures) or it ran with
--no-record. record_input decides whether a run keeps the words you typed. It is true unless you set it to false. Secrets are masked either way. See
Security.