.nh .TH "GT-WEBHOOK-TEST" "1" "Nov 2026" "gitea-cli" "gitea-cli Manual" .SH NAME gt-webhook-test - Send a test delivery of a webhook .SH SYNOPSIS \fBgt webhook test [flags]\fP .SH DESCRIPTION Ask Gitea to deliver a test push event for the latest commit of the default branch to a repository webhook. Gitea tests only repository webhooks, so --org, --account and --global cannot be used. The webhook's settings page shows the delivery and its response. .SH OPTIONS \fB-h\fP, \fB--help\fP[=false] help for test .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB--account\fP[=false] Manage the webhooks of your account .PP \fB--cwd\fP="" Working \fBdirectory\fR for repository discovery .PP \fB--debug\fP[=false] Log the method, URL, status, and duration of each HTTP request to stderr .PP \fB--global\fP[=false] Manage the system webhooks of the instance (administrators) .PP \fB--host\fP="" Gitea instance \fBURL\fR, including any base path .PP \fB--interactive\fP[=false] Allow prompts with machine output .PP \fB--no-input\fP[=false] Disable prompts and implicit editor/browser interactions .PP \fB--org\fP="" Manage the webhooks of an organization .PP \fB--remote\fP="" Git \fBremote\fR used for repository discovery .PP \fB-R\fP, \fB--repo\fP="" Select a repository as \fBOWNER/REPO\fR or URL .PP \fB--sudo\fP="" Perform API requests as this \fBuser\fR (requires an administrator account) .PP \fB--user\fP="" Account \fBname\fR on the selected instance .SH EXAMPLE .EX $ gt webhook test 3 $ gt webhook test 3 -R acme/site .EE .SH SEE ALSO \fBgt-webhook(1)\fP