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 →
| Command | Calls | What it does |
|---|---|---|
hanzo channels send <channel> | POST /v1/channels/{channel}/send | Send a message from your org's bot to one chat room |
hanzo channels allowlist get | GET /v1/channels/allowlist | Returns the caller org's access policy for one channel: whether DMs are pairing-gated, allowlisted or open, whether… |
hanzo channels allowlist replace | PUT /v1/channels/allowlist | Edits the caller org's access policy for one channel and answers the policy as GET would, so both verbs return ONE… |
hanzo channels inbox | GET /v1/channels/inbox | Returns the messages people have sent to the caller org's connected chat bots, oldest first, in the portable envelope… |
hanzo channels pairing approve | POST /v1/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 | GET /v1/channels/pairing | Returns the pairing requests waiting for the caller org to approve — one per person who messaged a connected bot on a… |
hanzo channels list | GET /v1/channels | Reports every chat channel this org can send through, and whether it can send through it right now. |
How is this guide?