Use the Ably CLI to publish a message to an Ably Pub/Sub channel.

CLI

What your agent can do

  • publish a message to an Ably Pub/Sub channel

    Via CLI.

Tasks depend on the interface and permissions.

Connection methods

Choose a route that fits your agent.

CLI connection
CLI package
ably channels publish <channel-name> <message> [options]

Authentication
ABLY_API_KEY="YOUR_API_KEY"

Documentation & experience

  • 1 connection path
View sources and checks
How documentation is checked