Automate ChatbotX workspace operations from the command line with the ChatbotX CLI.
ChatbotX CLI is a command-line tool for working directly with your self-hosted ChatbotX Workspace API. Use it to run exact operations from a terminal, automate repeatable tasks, and connect ChatbotX with internal scripts, cronjobs, CI/CD, or support workflows.The CLI is useful when you need predictable output, auditable commands, and zero LLM token usage. It calls the ChatbotX API directly, so every command runs with the parameters you provide.
Get started with the ChatbotX CLI by checking your connection and inspecting workspace resources:
# 1. Confirm the CLI can access your Workspacechatbotx workspaces get# 2. List Contacts and Tags before changing anythingchatbotx contacts list --perPage 10chatbotx tags list# 3. Resolve a Contact by email or phone numberchatbotx contacts get email:user@example.comchatbotx contacts get phone:+84708123123# 4. Add a Tag to a Contact after you know the tagIdchatbotx contacts tag add email:user@example.com --tagIds <tagId># 5. Confirm the resultchatbotx contacts tags list email:user@example.com
Use a test Contact before running commands on real customer data.