Skip to content

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]
OptionValueWhen omitted
--namenameNot set
--eventstype,...Not set
--repository (repeatable)owner/nameRequired for create, grant and revoke
--urlhttps-urlGitHub repository_dispatch
--limit1..100API default
--cursorcursorNot set
--resend-failed-sincedateDo not resend earlier deliveries
--jsonSwitchfalse
ActionArgumentOptions
createNone--name (required), --events (required), --repository (required), --url, --json
listNone--json
deliveriesint_…--limit, --cursor, --json
resenddlv_…--json
enableint_…--resend-failed-since, --json
testint_…--json
rotate-secretint_…--json
disableint_…--json
deleteint_…--json
grantint_…--repository (required), --json
revokeint_…--repository (required), --json
updateint_…--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