Sendport CLI▾

Sendport CLI

Send messages, tail events and tunnel webhooks to localhost from your terminal.

sendport wraps the same REST API these docs describe. It is the fastest way to try an endpoint, and the only practical way to receive webhooks on a laptop.

Install

npm install -g @sendport/cli

First run

Shell
sendport login
sendport numbers ls
sendport messages send --to +201005550123 --text "Hello from the CLI"

Global flags

FlagDescription
--profile <name>Use a named profile from ~/.sendport/config.toml
--key <key>Override the stored API key for one command
--jsonEmit raw JSON instead of a table — pipe it into jq
--quietSuppress everything but errors
--no-colorDisable ANSI colour
-v, --verboseLog full request and response, with secrets redacted