Skip to main content
All commands accept the global flags --url, --token, --json, --config, and --verbose.

auth

auth me

Show the currently authenticated user.

login

Log in to a MeepaChat instance. Saves credentials to ~/.config/meepachat/config.json. Browser OAuth (default):
Interactive credential prompts (no browser):
Non-interactive credentials:
Save a token directly:
Save a bot token:

logout

Clear the authentication token from the config file. Preserves the instance URL.

servers

Manage servers.

servers list

List servers you belong to.

servers create

Create a new server.

servers get

Get details for a server.

servers update

Rename a server.

servers delete

Delete a server.

servers leave

Leave a server.

servers members

List members of a server. Supports cursor pagination via --after.

channels

Manage channels. All channel subcommands require --server <serverID>.

channels list

List channels in a server.

channels create

Create a channel.

channels get

Get details for a channel.

channels update

Update a channel’s name or topic.

channels delete

Delete a channel.

channels join

Join a channel.

channels leave

Leave a channel.

channels members

List members of a channel.

channels archive

Archive a channel.

messages

Manage messages.

messages list

List messages in a channel. Results are ordered newest first.

messages send

Send a message to a channel.

messages edit

Edit a message.

messages delete

Delete a message.

messages thread

List thread replies for a message.

dms

Manage direct messages.

dms list

List DM conversations in a server.

dms open

Open (or retrieve) a DM channel with a user.

dms messages

List messages in a DM channel.

dms send

Send a message in a DM channel.

bots

Manage bots.

bots list

List bots you own.

bots create

Create a new bot. Prints the bot token on creation — save it immediately.

bots get

Get bot details.

bots delete

Delete a bot.

bots regenerate-token

Regenerate a bot’s token. The old token is immediately invalidated.

bots servers

List servers a bot belongs to.

bots add-to-server

Add a bot to a server.

bots remove-from-server

Remove a bot from a server.

invites

Manage invite links.

invites create

Create an invite link for a server.

invites list

List all invites for a server.

invites get

Get invite details by code.

invites revoke

Revoke an invite.

invites join

Join a server using an invite code.

groups

Manage channel groups (categories). All group subcommands require --server <serverID>.

groups list

List channel groups in a server.

groups create

Create a channel group.

groups update

Rename a channel group.

groups delete

Delete a channel group.

groups reorder

Reorder channel groups.

reactions

Manage emoji reactions on messages.

reactions add

Add a reaction to a message.

reactions remove

Remove a reaction from a message.

Search messages across a server.

notifications

Manage notifications and unread state.

notifications unread

List channels with unread messages.

notifications mark-read

Mark a channel as read.

notifications preferences

Get notification preferences for a server.

version

Print version, commit, and build date.