Skip to main content

Hookstride CLI

Hookstride CLI lets you manage projects and webhook destinations, inspect delivery activity, and view billing records. It includes an interactive console with the same selected-project commands.

Version 0.3.0 adds project creation and updates, plus destination creation, updates, and pausing/resuming. Billing and credential changes, delivery replay, and destructive operations remain unavailable.

Installation

Requires Python 3.11 or later.

uv tool install hookstride-cli

Alternatively, use pipx install hookstride-cli.

hookstride --version
hookstride status
hookstride console

Upgrade an existing installation with uv tool upgrade hookstride-cli.

Authentication

Authenticated commands require a Control API token (whrctl_), available from your Hookstride dashboard. Project delivery API keys (whrk_) do not grant CLI access.

In an interactive console, run auth login and enter the token at the hidden prompt:

hookstride console

For one-off commands, set HOOKSTRIDE_CONTROL_TOKEN in your shell without entering it on the command line:

read -rs "HOOKSTRIDE_CONTROL_TOKEN?Control token: "
echo
export HOOKSTRIDE_CONTROL_TOKEN
hookstride auth status

The read example above works in zsh. In Bash, use read -rs -p "Control token: " HOOKSTRIDE_CONTROL_TOKEN followed by echo and export HOOKSTRIDE_CONTROL_TOKEN.

Tokens entered through auth login are retained only for the interactive console session. The CLI does not write tokens to its settings file.

Commands

hookstride status
hookstride auth status
hookstride projects list
hookstride projects use PROJECT_UUID
hookstride projects create --account ACCOUNT_UUID --name "Staging" --slug staging
hookstride projects update PROJECT_UUID --name "Production EU"

hookstride destinations list
hookstride destinations create --name "Webhook receiver" --url "https://app.example.com/webhooks/hookstride"
hookstride destinations update DESTINATION_UUID --url "https://api.example.com/webhooks/hookstride"
hookstride destinations update DESTINATION_UUID --pause
hookstride destinations update DESTINATION_UUID --resume
hookstride keys list
hookstride events list --status failed
hookstride events show EVENT_UUID
hookstride stats

hookstride incoming sources
hookstride incoming routes
hookstride incoming bindings
hookstride incoming registration-keys

hookstride billing status
hookstride billing history
hookstride config show

Replace the example UUIDs with identifiers from your account. Find your workspace's account_id with hookstride --json projects list; that ID is required for project creation. Project creation and renaming require an admin/owner role. Destination changes require developer access or higher.

Commands that operate on a project use the selected project. You can override the selection for an individual command:

hookstride --project PROJECT_UUID events list

Interactive console

hookstride console

Use help to view commands, Tab for completion, and exit or Ctrl+D to leave. The console also supports show projects, show events, show destinations, use PROJECT_UUID, back, and set env dev|production. The same projects create/update and destinations create/update commands work inside the console. Commands with customer-provided names and URLs are not saved to console history.

JSON output

Use --json before a command to retrieve structured data for scripts:

hookstride --json projects list
hookstride --project PROJECT_UUID --json events list --status failed
hookstride --env production --json billing history

Errors go to standard error; unsuccessful requests return a nonzero exit code. When creating a destination, the server returns a signing secret once. Save it securely immediately. Both terminal output and --json deliberately include that one-time secret, so avoid piping creation output into logs or public CI artifacts.

Environments and local settings

The CLI connects to the production API by default: https://api.hookstride.com. A new release must be published to PyPI before existing installations receive this change.

To inspect the development API explicitly, select it:

hookstride --env dev console

Development requests use https://api-dev.hookstride.com. Use a Control API token issued for the selected environment. A custom HTTPS API origin can be supplied with --api-url.

Project selections are stored separately by environment in ~/.config/hookstride/settings.json. This file contains project identifiers, not authentication tokens. Console tokens and command history remain in memory and are discarded at exit.

Documentation

Documentation: https://hookstride.com

Metadata

Release files for hookstride-cli 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hookstride-cli 0.3.0
File Size Uploaded Provenance Actions
hookstride_cli-0.3.0.tar.gz 36.5 kB With provenance Details for hookstride_cli-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hookstride-cli 0.3.0
File Interpreter ABI Platform Actions
hookstride_cli-0.3.0-py3-none-any.whl Python 3 none any Details for hookstride_cli-0.3.0-py3-none-any.whl

Total release size: 54.6 kB

Release files / hookstride_cli-0.3.0.tar.gz

Download URL hookstride_cli-0.3.0.tar.gz
Size 36.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4c7ed5cca9d307039f88b8ce6d6aa8e7b69b8d59aa9904ed6e118186dfe30008
BLAKE2b-256 checksum
How to use checksums
66bf56fe5ef257eb18435c5841a9b69a10b42259b71d605d1688bbbe799250fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Release files / hookstride_cli-0.3.0-py3-none-any.whl

Download URL hookstride_cli-0.3.0-py3-none-any.whl
Size 18.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f85fed5e1faea6f85eea84c9b8e2ad18325a6ee7f3bd3fd412bb079925e4ae36
BLAKE2b-256 checksum
How to use checksums
cfe0b2dbdc591521c1b47d90c8b1318813dafb761dff94a6d7004bdda98380dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Security for hookstride-cli 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for hookstride_cli-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page