Hanzo AI

Channels

The `hanzo channels` commands.

Also for this capability: API · CLI · SDKs

One inbox for the chat apps you connect — Discord, Slack, Teams, Telegram.

API reference →

hanzo channels list

Every 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.

CommandWhat it does
hanzo channels inboxReturns the messages people have sent to the caller org's connected chat bots, oldest first, in the portable envelope…
hanzo channels listReports every chat channel this org can send through, and whether it can send through it right now.

allowlist

CommandWhat it does
hanzo channels allowlist getReturns the caller org's access policy for one channel: whether DMs are pairing-gated, allowlisted or open, whether…
hanzo channels allowlist replaceEdits the caller org's access policy for one channel and answers the policy as GET would, so both verbs return ONE…

pairing

CommandWhat it does
hanzo channels pairing approveTurns 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 getReturns the pairing requests waiting for the caller org to approve — one per person who messaged a connected bot on a…

send

CommandWhat it does
hanzo channels send <channel>Send a message from your org's bot to one chat room

How is this guide?

On this page