Manage the relay
Wiretap separates a desktop’s own subscription changes from privileged relay administration.
Manage this desktop’s projects
Section titled “Manage this desktop’s projects”After registration, create a new project with the saved client identity:
wiretap relay --url https://relay.example.com projects add new-projectRemove only this desktop’s subscription:
wiretap relay --url https://relay.example.com projects remove new-projectThe project and retained history remain on the relay. Other subscribed clients continue receiving deliveries. The GUI provides the same controls in Settings → Relay connection and reconnects the tunnel automatically after a change.
Client credentials cannot join a project that another client already subscribes to. Ask a relay administrator to add that subscription.
Connect as a relay administrator
Section titled “Connect as a relay administrator”Open Settings → Relay server, enter the relay’s HTTPS base URL and admin token, then connect. The workspace shows relay health, live desktop tunnel sessions, registered clients, projects, subscriber cursors, pending counts, and retained webhook totals.

Saved relays reconnect without retyping the token: the profile keeps the URL and the operating-system credential store keeps the token.
Enable Remember this relay to save a named profile. Wiretap stores its admin token in the operating-system credential store and keeps only profile metadata locally. If secure storage is unavailable, the connection remains temporary; there is no plaintext admin-token fallback.
From this workspace, an operator can:
- create and download credentials for another client without replacing this desktop’s identity;
- revoke a client and remove its subscriptions without deleting shared projects or history;
- create a project with an initial subscriber;
- add or remove subscribers and choose whether a new subscriber receives retained history;
- inspect retained webhook metadata in bounded pages;
- delete selected webhooks or all retained history for one project;
- delete a project and all its subscriptions and retained history.
Changes affecting the current desktop synchronize its saved project list and tunnel automatically.
Hand a client to another user
Section titled “Hand a client to another user”Create the client in Settings → Relay server, then select Download credentials while the one-time token is still visible. Send the JSON file through a secure channel. It contains the relay tunnel URL, client identity, bearer token, and initial project subscriptions.
The recipient can open Settings → Relay connection, choose Import client credentials, and select the file. They can also run:
wiretap config import ./wiretap-client.jsonWiretap rejects replacement of a different identity unless the user confirms
it in the GUI or passes --force on the CLI. A live GUI import swaps and
reconnects only the background WebSocket tunnel; it does not restart the app,
database, or interception sessions. Delete the handoff file after import
because it contains the plaintext client token.
Use the CLI
Section titled “Use the CLI”List the server state and retained history:
wiretap relay --url https://relay.example.com --admin-token TOKEN clients listwiretap relay --url https://relay.example.com --admin-token TOKEN projects listwiretap relay --url https://relay.example.com --admin-token TOKEN webhooks list new-projectCreate a project, then add another subscriber:
wiretap relay --url https://relay.example.com --admin-token TOKEN \ projects create new-project --client-id FIRST_CLIENT_IDwiretap relay --url https://relay.example.com --admin-token TOKEN \ projects subscribe new-project --client-id SECOND_CLIENT_IDPass --include-history to projects subscribe only when the new subscriber should receive retained deliveries. Without it, the subscription begins after the newest existing sequence.
Remove a subscriber without deleting the project:
wiretap relay --url https://relay.example.com --admin-token TOKEN \ projects unsubscribe new-project --client-id CLIENT_IDReplay a retained delivery to every connected subscriber, or target one client:
wiretap relay --url https://relay.example.com --admin-token TOKEN \ webhooks replay new-project 1wiretap relay --url https://relay.example.com --admin-token TOKEN \ webhooks replay new-project 1 --client-id CLIENT_IDDelete retained webhooks
Section titled “Delete retained webhooks”Delete selected sequences:
wiretap relay --url https://relay.example.com --admin-token TOKEN \ webhooks delete new-project 10 11 15Or delete an inclusive range or the complete retained history:
wiretap relay --url https://relay.example.com --admin-token TOKEN \ webhooks delete new-project --through 100wiretap relay --url https://relay.example.com --admin-token TOKEN \ webhooks delete new-project --allChoose exactly one deletion mode. A selected-sequence request accepts at most 500 sequence numbers. Deletion changes relay retention only; webhooks already stored on desktops remain local.
See CLI reference for the complete command map.