Hanzo
CLIChannels

Channels

7 `hanzo` commands for Channels, each calling one operation on api.hanzo.ai.

Package channels is one inbox for the chat apps you connect — Discord, Slack, Teams, Telegram.

7 commands · API reference →

CommandCallsWhat it does
hanzo channels send <channel>POST /v1/channels/{channel}/sendSend a message from your org's bot to one chat room
hanzo channels allowlist getGET /v1/channels/allowlistReturns the caller org's access policy for one channel: whether DMs are pairing-gated, allowlisted or open, whether…
hanzo channels allowlist replacePUT /v1/channels/allowlistEdits the caller org's access policy for one channel and answers the policy as GET would, so both verbs return ONE…
hanzo channels inboxGET /v1/channels/inboxReturns the messages people have sent to the caller org's connected chat bots, oldest first, in the portable envelope…
hanzo channels pairing approvePOST /v1/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 getGET /v1/channels/pairingReturns the pairing requests waiting for the caller org to approve — one per person who messaged a connected bot on a…
hanzo channels listGET /v1/channelsReports every chat channel this org can send through, and whether it can send through it right now.

How is this guide?