theseus webhooks
Send Theseus events from the workspace's repositories to your own endpoint.
Usage: theseus webhooks create --name <name> --events <type,...> --repository <owner/name>
[--repository <owner/name> ...] [--url <https-url>] [--json]
theseus webhooks list [--json]
theseus webhooks deliveries <integration-id> [--limit <n>] [--cursor <cursor>] [--json]
theseus webhooks resend <delivery-id> [--json]
theseus webhooks test|rotate-secret <integration-id> [--json]
theseus webhooks enable <integration-id> [--resend-failed-since <date>] [--json]
theseus webhooks disable|delete <integration-id> [--json]
theseus webhooks update <integration-id> [--name <name>] [--events <type,...>] [--url <https-url>] [--json]
theseus webhooks grant|revoke <integration-id> --repository <owner/name> [--json]| Option | Value | When omitted |
|---|---|---|
--name | name | Not set |
--events | type,... | Not set |
--repository (repeatable) | owner/name | Required for create, grant and revoke |
--url | https-url | GitHub repository_dispatch |
--limit | 1..100 | API default |
--cursor | cursor | Not set |
--resend-failed-since | date | Do not resend earlier deliveries |
--json | Switch | false |
| Action | Argument | Options |
|---|---|---|
create | None | --name (required), --events (required), --repository (required), --url, --json |
list | None | --json |
deliveries | int_… | --limit, --cursor, --json |
resend | dlv_… | --json |
enable | int_… | --resend-failed-since, --json |
test | int_… | --json |
rotate-secret | int_… | --json |
disable | int_… | --json |
delete | int_… | --json |
grant | int_… | --repository (required), --json |
revoke | int_… | --repository (required), --json |
update | int_… | --name, --events, --url, --json |
JSON output: API response object for the selected action. create and rotate-secret include a secret shown once. Errors: event="error", code, error.
Exit codes: 0 Success; 1 Failure; 2 Invalid arguments.
Full command help and examples
Usage: theseus webhooks create --name <name> --events <type,...> --repository <owner/name>
[--repository <owner/name> ...] [--url <https-url>] [--json]
theseus webhooks list [--json]
theseus webhooks deliveries <integration-id> [--limit <n>] [--cursor <cursor>] [--json]
theseus webhooks resend <delivery-id> [--json]
theseus webhooks test|rotate-secret <integration-id> [--json]
theseus webhooks enable <integration-id> [--resend-failed-since <date>] [--json]
theseus webhooks disable|delete <integration-id> [--json]
theseus webhooks update <integration-id> [--name <name>] [--events <type,...>] [--url <https-url>] [--json]
theseus webhooks grant|revoke <integration-id> --repository <owner/name> [--json]
Send Theseus events from the selected workspace's repositories (owners and admins). create
delivers each event to its repository's GitHub Actions as a repository_dispatch named
theseus.<type>, or with --url to your HTTPS endpoint, signed per Standard Webhooks with a
whsec_ secret it prints once. --events takes types such as guide.ready, a family such
as guide.*, or *. A webhook receives only events recorded after it is created, and
only for repositories granted to it. deliveries lists the newest first; resend sends one
again under the same event ID. test sends a signed theseus.ping to an HTTPS endpoint now.
rotate-secret prints a new secret; both secrets sign for 24 hours unless rotated again. disable stops
deliveries; enable resumes them with events recorded from then on, and with
--resend-failed-since also resends what failed, expired or was skipped since that date (at
most 30 days ago). Theseus disables an HTTPS endpoint itself when it answers 410 or fails
for 5 days. grant and revoke add or remove a repository you can see; delete removes the
webhook and its delivery log.
--json prints the API's response body as one JSON document. Errors exit 1 (2 for usage)
and, with --json, print {"event":"error","code":...,"error":...}.
Examples:
theseus webhooks create --name "Fix failed guides" --events guide.* --repository acme/app
theseus webhooks create --name CI --events guide.ready --repository acme/app --url https://ci.acme.com/theseus
theseus webhooks enable int_123 --resend-failed-since 2026-10-01
theseus webhooks deliveries int_123 --limit 10