Channels
The `hanzo channels` commands.
Also for this capability: API · CLI · SDKs
One inbox for the chat apps you connect — Discord, Slack, Teams, Telegram.
hanzo channels listEvery command takes --json for the raw response and --help for its own flags. Sign in once with hanzo auth login; the commands below use that session, and the org they act in is the one it carries.
| Command | What it does |
|---|---|
hanzo channels inbox | Returns the messages people have sent to the caller org's connected chat bots, oldest first, in the portable envelope… |
hanzo channels list | Reports every chat channel this org can send through, and whether it can send through it right now. |
allowlist
| Command | What it does |
|---|---|
hanzo channels allowlist get | Returns the caller org's access policy for one channel: whether DMs are pairing-gated, allowlisted or open, whether… |
hanzo channels allowlist replace | Edits the caller org's access policy for one channel and answers the policy as GET would, so both verbs return ONE… |
pairing
| Command | What it does |
|---|---|
hanzo channels pairing approve | Turns one pending pairing code into a standing allow entry, so that person can DM the org's bot on that channel from… |
hanzo channels pairing get | Returns the pairing requests waiting for the caller org to approve — one per person who messaged a connected bot on a… |
send
| Command | What it does |
|---|---|
hanzo channels send <channel> | Send a message from your org's bot to one chat room |
How is this guide?