Skip to main content
ChatbotX CLI commands follow the same resource model as the Workspace: Contacts, Tags, Custom Fields, Bot Fields, Conversations, Broadcasts, Flows, Sequences, and system tools. This page documents every command group with syntax, flags, and descriptions.

Global Options

These flags are available on every command and override your saved configuration for a single run.

Contact Identifiers

For any command in the contacts group, the <identifier> parameter supports three look-up formats. Always include the explicit prefix so the CLI resolves the correct Contact.

Command Groups


chatbotx config

Configure your CLI credentials. Settings are saved globally and used by all subsequent commands.

chatbotx workspaces

Retrieves metadata and connection details for your Workspace. Use this to verify that your token and API URL are working correctly.

chatbotx members, channels, teams


chatbotx tags


chatbotx custom-fields


chatbotx bot-fields

Bot Fields store workspace-level variables shared across your bot flows.

chatbotx contacts

Core Contact Commands

Contact Tags

Contact Custom Fields

Contact Actions


Conversations, Broadcasts, Flows, Sequences, and System Tools


Automation Examples

Combine --json and jq to build powerful shell automation workflows.

Tag a Contact by Tag Name

Trigger a Flow by Name

Set a Custom Field Value

CLI Help and Cache Management

The CLI caches the OpenAPI spec at ~/.chatbotX/openapi-cache.json for one hour. If your self-hosted instance has recently added new APIs and the commands are not appearing, force a refresh:
Use --help at any level to inspect syntax:

Troubleshooting