postmx-cli
v0.1.8
Published
PostMX CLI beta — manage inboxes, messages, and webhooks from your terminal
Readme
PostMX CLI Beta
Official beta CLI for the PostMX email testing API.
- Interactive inbox browser for development and debugging
- Scriptable terminal commands for CI and local workflows
- Message inspection with OTP, links, and text-only views
- Secure local credential storage when your OS keychain is available
Requires Node.js 18+.
Install
npm install -g postmx-cliThe installed command is:
postmx --helpQuick Start
postmx login
postmx inbox create --label signup-test --lifecycle temporary --ttl 15
postmx inbox wait inb_abc123 --timeout 30
postmx message get msg_abc123 --content-mode otpIn interactive mode, creating an inbox now drops you straight into the live watch screen so you can wait for mail immediately.
Common Commands
postmx -i
postmx auth logout
postmx auth login --api-key pmx_live_...
postmx inbox list-msg inb_abc123 --limit 20
postmx messages list --recipient-email [email protected]
postmx webhook create --label app-events --target-url https://example.com/webhooks/postmxNotes
- npm package name:
postmx-cli - installed executable:
postmx - Homebrew support should only be documented publicly after the
postmxformula is live
License
MIT
