Skip to main content
The Maito CLI is for people and AI agents that need a direct terminal interface to Maito. Use it to create, schedule, and publish social posts, manage newsletter subscribers and issues, and inspect queue items without opening the hosted app. The CLI is a regular command-based interface. It does not expose a generic REST passthrough. Every supported operation is available as a named command such as maito posts list, maito posts create, or maito newsletter subscribers list.

When To Use It

Use the CLI when you want to:
  • Run Maito actions from scripts, CI jobs, or local automation.
  • Let an AI coding agent inspect or update Maito resources through predictable commands.
  • Work with newsletter subscribers, issues, segments, and analytics.
  • Publish, schedule, retry, or inspect social and newsletter work from the terminal.
For direct HTTP integrations, use the API.

Command Shape

Commands use resource-action names:
Examples:
Most commands return human-readable output by default. Add --json when another tool or script needs the raw response.

Auth

Sign in for full CLI access:
API keys are also supported for customer API automation:
API keys are server-side credentials and are intentionally limited to supported customer API endpoints. Run maito login for full user CLI access. See Installation for setup details.

Next Steps

  • Install and authenticate the CLI in Installation.
  • Learn common flags and payload patterns in Usage.
  • Browse every supported command in Commands.