A CLI to interact with the Svix API.
With the Svix CLI, you can:
- Interact with the Svix CLI
- Validate Webhook payloads
Homebrew Tap & Scoop Bucket Coming soon.
For now, you can download the binary executable and use it straight away without having to install any additional dependencies.
- Find the latest release, download the tar.gz file for your given operating system and extract it.
- Inside you'll find the
svixexecutable which you can run directly (Note: you may need to allow execution viachmod +x <PATH_TO_SVIX_EXE>),
On macOS or Linux, you can move this file to /usr/local/bin or /usr/bin locations to have it be runnable from anywhere; or place it anywhere and add it to your path (ex. export PATH=$PATH:<PATH_TO_SVIX_EXE>) Otherwise, simply cd to the folder where you extracted the tar.gz file and run it with ./svix.
Installing the Svix CLI provides access to the svix command.
sivx [command]
# Run `svix help` for information about the available commands
svix help
# or add the `--help` flag to any command for a more detailed description and list of flags
svix [command] --help# Set your Auth Token temporarily via the SVIX_AUTH_TOKEN environment variable
export SVIX_AUTH_TOKEN=<MY-AUTH-TOKEN>
# or to persistently store your auth token in a config file run
svix login # interactively configure your Svix API credentials
# Create an Application with the name "Demo"
svix application create '{ "name": "demo" }'
# or pipe in some json
echo '{ "name": "demo" }' | svix application create
# or use the convinence cli flags
svix application create --data-name demo
# List Applications
svix application list --limit 2 --iterator some_iterator The Svix CLI supports the following commands:
| Command | Description |
|---|---|
| login | Interactively configure your Svix API credentials |
| application | List, create & modify applications |
| authentication | Manage authentication tasks such getting dashboard urls |
| endpoint | List, create & modify endpoints |
| event-type | List, create & modify event types |
| message | List & create messages |
| message-attempt | List, lookup & resend message attempts |
| verify | Verify the signature of a webhook message |
| version | Get the version of the Svix CLI |
| help | Help about any command |
For a more information, checkout our API reference.
This project uses goreleaser