{
  "generated_from": "hookdeck/webhook-registry",
  "registry_commit": "ff7f8825c5600d0f2b65912581fbc5ead48a2e07",
  "registry_committed_at": "2026-11-20T13:13:17Z",
  "disclaimer": "Independent reference. Not affiliated with Gitea.",
  "vendor": "gitea",
  "name": "Gitea",
  "official_docs": "https://docs.gitea.com/usage/repository/webhooks/",
  "docs_checked": "2026-11-05",
  "url": "https://hookdeck.com/webhooks/gitea",
  "pages": [
    {
      "tab": "overview",
      "label": "Overview",
      "url": "https://hookdeck.com/webhooks/gitea"
    },
    {
      "tab": "events",
      "label": "Webhook events",
      "url": "https://hookdeck.com/webhooks/gitea/events"
    },
    {
      "tab": "mcp-events",
      "label": "MCP events",
      "url": "https://hookdeck.com/webhooks/gitea/mcp-events"
    },
    {
      "tab": "verify",
      "label": "Verify signatures",
      "url": "https://hookdeck.com/webhooks/gitea/verify"
    },
    {
      "tab": "guide",
      "label": "Production guide",
      "url": "https://hookdeck.com/webhooks/gitea/guide-duplicates-retries-timeouts"
    },
    {
      "tab": "skill",
      "label": "Agent skill",
      "url": "https://hookdeck.com/webhooks/gitea/skill"
    }
  ],
  "summary": "Gitea signs some webhooks. Deliveries carry X-Gitea-Signature, X-Hub-Signature-256 and X-Gogs-Signature (HMAC-SHA256). Deliveries can carry the legacy X-Hub-Signature too.",
  "facts": [
    {
      "key": "signature_header",
      "label": "Signature header",
      "value": "X-Gitea-Signature",
      "detail": "Also sent: X-Hub-Signature-256, X-Gogs-Signature.",
      "source": {
        "kind": "vendor-docs",
        "label": "Gitea docs",
        "href": "https://docs.gitea.com/usage/repository/webhooks/"
      },
      "doc_discrepancy": null
    },
    {
      "key": "scheme",
      "label": "Scheme",
      "value": "HMAC-SHA256",
      "detail": null,
      "source": {
        "kind": "vendor-docs",
        "label": "Gitea docs",
        "href": "https://docs.gitea.com/usage/repository/webhooks/"
      },
      "doc_discrepancy": null
    },
    {
      "key": "signed_material",
      "label": "Signed material",
      "value": "{JSON payload}",
      "detail": "The raw request body only for POST + application/json. A form delivery's body is payload=<url-encoded JSON> and a GET carries the payload in the query string, but both are still signed over the JSON, so neither signature matches the bytes received. Gitea's docs say \"raw request body\", which holds only for JSON POSTs.",
      "source": {
        "kind": "vendor-docs",
        "label": "Gitea docs",
        "href": "https://docs.gitea.com/usage/repository/webhooks/"
      },
      "doc_discrepancy": null
    },
    {
      "key": "identified_by",
      "label": "How events are identified",
      "value": "X-Gitea-Event-Type header, then the body's action field",
      "detail": null,
      "source": {
        "kind": "vendor-docs",
        "label": "Gitea docs",
        "href": "https://docs.gitea.com/usage/repository/webhooks/"
      },
      "doc_discrepancy": null
    },
    {
      "key": "body_format",
      "label": "Body format",
      "value": "JSON",
      "detail": "Content type: application/json, application/x-www-form-urlencoded.",
      "source": {
        "kind": "vendor-docs",
        "label": "Gitea docs",
        "href": "https://docs.gitea.com/usage/repository/webhooks/"
      },
      "doc_discrepancy": null
    },
    {
      "key": "legacy_signature",
      "label": "Legacy signature",
      "value": "X-Hub-Signature",
      "detail": "HMAC-SHA1 of the JSON payload with the same secret, sent for compatibility and prefixed sha1=.",
      "source": {
        "kind": "vendor-docs",
        "label": "Gitea docs",
        "href": "https://docs.gitea.com/usage/repository/webhooks/"
      },
      "doc_discrepancy": null
    },
    {
      "key": "other_headers",
      "label": "Other headers",
      "value": "x-gitea-delivery, x-gitea-event, x-gitea-event-type, x-gitea-hook-installation-target-type, x-hub-signature, x-github-event",
      "detail": null,
      "source": {
        "kind": "vendor-docs",
        "label": "Gitea docs",
        "href": "https://docs.gitea.com/usage/repository/webhooks/"
      },
      "doc_discrepancy": null
    },
    {
      "key": "envelope",
      "label": "Envelope",
      "value": "action, repository, sender",
      "detail": null,
      "source": {
        "kind": "vendor-docs",
        "label": "Gitea docs",
        "href": "https://docs.gitea.com/usage/repository/webhooks/"
      },
      "doc_discrepancy": null
    },
    {
      "key": "agent_skill",
      "label": "Agent skill",
      "value": "npx skills add hookdeck/webhook-skills --skill gitea-webhooks",
      "detail": null,
      "source": {
        "kind": "webhook-skills",
        "label": "Agent skill →",
        "href": "https://hookdeck.com/webhooks/gitea/skill"
      },
      "doc_discrepancy": null
    }
  ],
  "not_yet_known": [],
  "enumeration": {
    "status": "unknown"
  },
  "counts": {
    "events": 26,
    "with_payload": 0,
    "captured": 0,
    "with_description": 26,
    "resources": 4,
    "confidence": {
      "verified": 0,
      "documented": 26,
      "inferred": 0
    }
  },
  "mcp": {
    "native": "unknown",
    "checked": null,
    "via_hookdeck": "any Gitea event"
  },
  "events": [
    {
      "name": "create",
      "resource": "repository",
      "description": "Branch or tag created",
      "confidence": "documented",
      "schema_source": "No payload yet",
      "has_payload": false,
      "url": "https://hookdeck.com/webhooks/gitea/events#create",
      "json": "https://hookdeck.com/webhooks/gitea/events/create.json"
    },
    {
      "name": "delete",
      "resource": "repository",
      "description": "Branch or tag deleted",
      "confidence": "documented",
      "schema_source": "No payload yet",
      "has_payload": false,
      "url": "https://hookdeck.com/webhooks/gitea/events#delete",
      "json": "https://hookdeck.com/webhooks/gitea/events/delete.json"
    },
    {
      "name": "fork",
      "resource": "repository",
      "description": "Repository gets forked",
      "confidence": "documented",
      "schema_source": "No payload yet",
      "has_payload": false,
      "url": "https://hookdeck.com/webhooks/gitea/events#fork",
      "json": "https://hookdeck.com/webhooks/gitea/events/fork.json"
    },
    {
      "name": "push",
      "resource": "repository",
      "description": "Commits pushed to a branch or tag",
      "confidence": "documented",
      "schema_source": "No payload yet",
      "has_payload": false,
      "url": "https://hookdeck.com/webhooks/gitea/events#push",
      "json": "https://hookdeck.com/webhooks/gitea/events/push.json"
    },
    {
      "name": "wiki",
      "resource": "repository",
      "description": "Wiki page created, edited or deleted",
      "confidence": "documented",
      "schema_source": "No payload yet",
      "has_payload": false,
      "url": "https://hookdeck.com/webhooks/gitea/events#wiki",
      "json": "https://hookdeck.com/webhooks/gitea/events/wiki.json"
    },
    {
      "name": "repository",
      "resource": "repository",
      "description": "Repository created or deleted",
      "confidence": "documented",
      "schema_source": "No payload yet",
      "has_payload": false,
      "url": "https://hookdeck.com/webhooks/gitea/events#repository",
      "json": "https://hookdeck.com/webhooks/gitea/events/repository.json"
    },
    {
      "name": "release",
      "resource": "repository",
      "description": "Release published, updated or deleted",
      "confidence": "documented",
      "schema_source": "No payload yet",
      "has_payload": false,
      "url": "https://hookdeck.com/webhooks/gitea/events#release",
      "json": "https://hookdeck.com/webhooks/gitea/events/release.json"
    },
    {
      "name": "package",
      "resource": "repository",
      "description": "Package created or deleted",
      "confidence": "documented",
      "schema_source": "No payload yet",
      "has_payload": false,
      "url": "https://hookdeck.com/webhooks/gitea/events#package",
      "json": "https://hookdeck.com/webhooks/gitea/events/package.json"
    },
    {
      "name": "status",
      "resource": "workflow",
      "description": "Commit status created or updated through the API",
      "confidence": "documented",
      "schema_source": "No payload yet",
      "has_payload": false,
      "url": "https://hookdeck.com/webhooks/gitea/events#status",
      "json": "https://hookdeck.com/webhooks/gitea/events/status.json"
    },
    {
      "name": "issues",
      "resource": "issues",
      "description": "Issue opened, closed, reopened, edited or deleted",
      "confidence": "documented",
      "schema_source": "No payload yet",
      "has_payload": false,
      "url": "https://hookdeck.com/webhooks/gitea/events#issues",
      "json": "https://hookdeck.com/webhooks/gitea/events/issues.json"
    },
    {
      "name": "issue_assign",
      "resource": "issues",
      "description": "Issue assigned or unassigned",
      "confidence": "documented",
      "schema_source": "No payload yet",
      "has_payload": false,
      "url": "https://hookdeck.com/webhooks/gitea/events#issue_assign",
      "json": "https://hookdeck.com/webhooks/gitea/events/issue-assign.json"
    },
    {
      "name": "issue_label",
      "resource": "issues",
      "description": "Issue labels updated or cleared",
      "confidence": "documented",
      "schema_source": "No payload yet",
      "has_payload": false,
      "url": "https://hookdeck.com/webhooks/gitea/events#issue_label",
      "json": "https://hookdeck.com/webhooks/gitea/events/issue-label.json"
    },
    {
      "name": "issue_milestone",
      "resource": "issues",
      "description": "Issue milestoned or demilestoned",
      "confidence": "documented",
      "schema_source": "No payload yet",
      "has_payload": false,
      "url": "https://hookdeck.com/webhooks/gitea/events#issue_milestone",
      "json": "https://hookdeck.com/webhooks/gitea/events/issue-milestone.json"
    },
    {
      "name": "issue_comment",
      "resource": "issues",
      "description": "Issue comment created, edited or deleted",
      "confidence": "documented",
      "schema_source": "No payload yet",
      "has_payload": false,
      "url": "https://hookdeck.com/webhooks/gitea/events#issue_comment",
      "json": "https://hookdeck.com/webhooks/gitea/events/issue-comment.json"
    },
    {
      "name": "pull_request",
      "resource": "pull_request",
      "description": "Pull request opened, closed, reopened, edited or deleted",
      "confidence": "documented",
      "schema_source": "No payload yet",
      "has_payload": false,
      "url": "https://hookdeck.com/webhooks/gitea/events#pull_request",
      "json": "https://hookdeck.com/webhooks/gitea/events/pull-request.json"
    },
    {
      "name": "pull_request_assign",
      "resource": "pull_request",
      "description": "Pull request assigned or unassigned",
      "confidence": "documented",
      "schema_source": "No payload yet",
      "has_payload": false,
      "url": "https://hookdeck.com/webhooks/gitea/events#pull_request_assign",
      "json": "https://hookdeck.com/webhooks/gitea/events/pull-request-assign.json"
    },
    {
      "name": "pull_request_label",
      "resource": "pull_request",
      "description": "Pull request labels updated or cleared",
      "confidence": "documented",
      "schema_source": "No payload yet",
      "has_payload": false,
      "url": "https://hookdeck.com/webhooks/gitea/events#pull_request_label",
      "json": "https://hookdeck.com/webhooks/gitea/events/pull-request-label.json"
    },
    {
      "name": "pull_request_milestone",
      "resource": "pull_request",
      "description": "Pull request milestoned or demilestoned",
      "confidence": "documented",
      "schema_source": "No payload yet",
      "has_payload": false,
      "url": "https://hookdeck.com/webhooks/gitea/events#pull_request_milestone",
      "json": "https://hookdeck.com/webhooks/gitea/events/pull-request-milestone.json"
    },
    {
      "name": "pull_request_comment",
      "resource": "pull_request",
      "description": "Pull request timeline comment created, edited or deleted",
      "confidence": "documented",
      "schema_source": "No payload yet",
      "has_payload": false,
      "url": "https://hookdeck.com/webhooks/gitea/events#pull_request_comment",
      "json": "https://hookdeck.com/webhooks/gitea/events/pull-request-comment.json"
    },
    {
      "name": "pull_request_review_approved",
      "resource": "pull_request",
      "description": "Review approves a pull request",
      "confidence": "documented",
      "schema_source": "No payload yet",
      "has_payload": false,
      "url": "https://hookdeck.com/webhooks/gitea/events#pull_request_review_approved",
      "json": "https://hookdeck.com/webhooks/gitea/events/pull-request-review-approved.json"
    },
    {
      "name": "pull_request_review_rejected",
      "resource": "pull_request",
      "description": "Review rejects a pull request or requests changes",
      "confidence": "documented",
      "schema_source": "No payload yet",
      "has_payload": false,
      "url": "https://hookdeck.com/webhooks/gitea/events#pull_request_review_rejected",
      "json": "https://hookdeck.com/webhooks/gitea/events/pull-request-review-rejected.json"
    },
    {
      "name": "pull_request_review_comment",
      "resource": "pull_request",
      "description": "Review submitted as a comment on a pull request",
      "confidence": "documented",
      "schema_source": "No payload yet",
      "has_payload": false,
      "url": "https://hookdeck.com/webhooks/gitea/events#pull_request_review_comment",
      "json": "https://hookdeck.com/webhooks/gitea/events/pull-request-review-comment.json"
    },
    {
      "name": "pull_request_sync",
      "resource": "pull_request",
      "description": "New commits synchronize a pull request",
      "confidence": "documented",
      "schema_source": "No payload yet",
      "has_payload": false,
      "url": "https://hookdeck.com/webhooks/gitea/events#pull_request_sync",
      "json": "https://hookdeck.com/webhooks/gitea/events/pull-request-sync.json"
    },
    {
      "name": "pull_request_review_request",
      "resource": "pull_request",
      "description": "Reviewer requested, or review request removed",
      "confidence": "documented",
      "schema_source": "No payload yet",
      "has_payload": false,
      "url": "https://hookdeck.com/webhooks/gitea/events#pull_request_review_request",
      "json": "https://hookdeck.com/webhooks/gitea/events/pull-request-review-request.json"
    },
    {
      "name": "workflow_run",
      "resource": "workflow",
      "description": "Gitea Actions workflow run changes status",
      "confidence": "documented",
      "schema_source": "No payload yet",
      "has_payload": false,
      "url": "https://hookdeck.com/webhooks/gitea/events#workflow_run",
      "json": "https://hookdeck.com/webhooks/gitea/events/workflow-run.json"
    },
    {
      "name": "workflow_job",
      "resource": "workflow",
      "description": "Gitea Actions workflow job changes status",
      "confidence": "documented",
      "schema_source": "No payload yet",
      "has_payload": false,
      "url": "https://hookdeck.com/webhooks/gitea/events#workflow_job",
      "json": "https://hookdeck.com/webhooks/gitea/events/workflow-job.json"
    }
  ]
}