← Back to CLIs

tchao-cli
Manage Tchao live chat via CLI - conversations, messages, websites, analytics. Use when user mentions 'tchao', 'live chat', 'visitor conversations', 'chat widget', or wants to interact with the Tchao API.
Install
$ npx api2cli install Melvynx/tchao-cliDetails
README
tchao-cli
CLI for the Tchao API - live chat platform. Made with api2cli.dev.
Install
npx api2cli install Melvynx/tchao-cli
This clones the repo, builds the CLI, links it to your PATH, and installs the AgentSkill to your coding agents.
Install AgentSkill only
npx skills add Melvynx/tchao-cli
Authentication
tchao-cli auth set sk-abc123xyz
tchao-cli auth test
tchao-cli auth show
tchao-cli auth show --raw
tchao-cli auth remove
| Command | Description |
|---|---|
auth set <token> | Save your API token |
auth show | Display current token (masked by default) |
auth show --raw | Show the full unmasked token |
auth remove | Delete the saved token |
auth test | Verify your token works |
Resources
conversations
Manage live chat conversations.
tchao-cli conversations list
tchao-cli conversations list --status OPEN --limit 10
tchao-cli conversations list-open
tchao-cli conversations get <conversation-id>
tchao-cli conversations close <conversation-id>
| Command | Flags |
|---|---|
list | --status <status>, --limit <n>, --cursor <cursor>, --fields <cols> |
list-open | --fields <cols> |
get <conversation-id> | |
close <conversation-id> |
messages
Send messages in conversations.
tchao-cli messages send <conversation-id> --message "Hello!"
| Command | Flags |
|---|---|
send <conversation-id> | --message <text> (required) |
websites
Manage configured websites.
tchao-cli websites list
tchao-cli websites list --json
| Command | Flags |
|---|---|
list | --fields <cols> |
analytics
View analytics and stats.
tchao-cli analytics get
tchao-cli analytics get --json
| Command | Flags |
|---|---|
get | --fields <cols> |
Global Flags
All commands support: --json, --format <text|json|csv|yaml>, --verbose, --no-color, --no-header