Skip to content

Channel Management

Commands for approving pending channel pairing requests. Channels let users interact with Evonic agents through external messaging platforms like Telegram and WhatsApp.

When a user connects through a channel for the first time, a pairing code is generated. An admin must approve this code to add the user to the channel’s allowlist.

Approve a pending channel pairing request by its 6-character code.

Terminal window
evonic channel approve <pair_code>
ArgumentDescription
pair_code6-character pairing code (e.g. ABC123). Accepts both XXXXXX and legacy XXX-XXX formats.

The code is case-insensitive — the command uppercases and strips hyphens automatically.

  1. A user sends a message to the channel (e.g., your Telegram bot).
  2. The channel responds with a 6-character pairing code like XK4M9Q.
  3. The user shares this code with an admin (via email, chat, or in person).
  4. The admin runs evonic channel approve XK4M9Q on the server.
  5. The user is added to the channel’s allowlist and can now interact with the agent.

Example:

Terminal window
evonic channel approve XK4M9Q

Output (success):

✅ User 123456789 berhasil ditambahkan ke allowlist

Output (invalid/expired):

❌ Pairing code invalid or expired.

Pairing codes expire after a set period. If a code expires, the user needs to request a new one by sending another message to the channel.

The command accepts these formats:

FormatExampleNotes
Bare 6-charXK4M9QPreferred format, no hyphen
With hyphenXK4-M9QLegacy format, hyphen is stripped

The code is normalised internally — all lowercase letters are uppercased and hyphens are removed before lookup.

Channel management is handled primarily through the Web UI and REST API. The CLI currently focuses on the approval workflow.

ActionMethodWhere
Add a channelWeb UI or APIChannels Guide
Approve a pairingCLIevonic channel approve <code>
List channelsWeb UI or APIChannels Guide
Remove a channelWeb UI or APIChannels Guide
View pending approvalsAPIChannel Approvals API