channel
Overview
Section titled “Overview”snippbot channel start # Start the channel adapter serversnippbot channel stop # Stop the adapter serversnippbot channel status # Check adapter server statussnippbot channel list # List configured channelsThe channel adapter server receives webhooks from messaging platforms (Slack, Discord, Telegram, etc.) and routes messages to the appropriate agents based on your channel bindings.
Signing in
Section titled “Signing in”These commands sign in to the daemon. Each time the daemon starts it writes a token for the CLI to cli_key inside your data folder (readable by you only), and the CLI uses it automatically. The token works only on this machine and only for the device and channel commands; it is not an API key and does not appear under Settings → API keys.
If a command says the daemon refused the request, restart the daemon (the token changes at every start). To reach a daemon on another machine, or to use your own key in a script, set SNIPPBOT_API_KEY to a key from snippbot auth create-key.
snippbot channel start
Section titled “snippbot channel start”Start the channel adapter server.
snippbot channel start# Adapter server started.# Listening on port 18790The adapter server runs independently from the main daemon on port 18790.
snippbot channel stop
Section titled “snippbot channel stop”Stop the channel adapter server.
snippbot channel stop# Adapter server stopped.snippbot channel status
Section titled “snippbot channel status”Check if the adapter server is running.
snippbot channel status # Human-readablesnippbot channel status --json # JSON outputExample output:
● Running Port 18790snippbot channel list
Section titled “snippbot channel list”List all configured messaging channels.
snippbot channel listsnippbot channel list --jsonExample output:
┌──────────────┬─────────────┬──────────┬─────────┐│ Platform │ Credentials │ Bindings │ Enabled │├──────────────┼─────────────┼──────────┼─────────┤│ Discord │ ✓ │ 1 │ yes ││ Telegram │ ✓ │ 2 │ yes ││ Slack │ — │ 0 │ no │└──────────────┴─────────────┴──────────┴─────────┘Configuring channels
Section titled “Configuring channels”Channel credentials (bot tokens, webhook URLs, OAuth secrets) are configured via the Settings → Channels page in the web UI, or via the /api/channels REST API.
See the channel-specific setup guides: