{
  "generated_from": "hookdeck/webhook-registry",
  "registry_commit": "a24c8d9784c9e9fe937c63f76adbce108201378f",
  "registry_committed_at": "2026-11-19T08:56:09Z",
  "disclaimer": "Independent reference. Not affiliated with GitHub.",
  "vendor": "github",
  "event": "org_block",
  "resource": "organization",
  "url": "https://hookdeck.com/webhooks/github/events#org_block",
  "description": "Organization blocks or unblocks a non-member",
  "trigger": null,
  "listed_in": "https://docs.github.com/en/webhooks/webhook-events-and-payloads",
  "confidence": "documented",
  "schema_source": "from GitHub docs (example)",
  "identified_by": "x-github-event header and action field in the body",
  "payload": {
    "provenance": "doc-example",
    "value_realism": "doc-example-values",
    "field_count": 52,
    "key_fields": [],
    "delivery": {
      "title": "From GitHub docs",
      "content_type": "application/json",
      "headers": []
    },
    "body": {
      "action": "blocked",
      "blocked_user": {
        "login": "hacktocat",
        "id": 39652351,
        "node_id": "MDQ6VXNlcjM5NjUyMzUx",
        "avatar_url": "https://avatars2.githubusercontent.com/u/39652351?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/hacktocat",
        "html_url": "https://github.com/hacktocat",
        "followers_url": "https://api.github.com/users/hacktocat/followers",
        "following_url": "https://api.github.com/users/hacktocat/following{/other_user}",
        "gists_url": "https://api.github.com/users/hacktocat/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/hacktocat/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/hacktocat/subscriptions",
        "organizations_url": "https://api.github.com/users/hacktocat/orgs",
        "repos_url": "https://api.github.com/users/hacktocat/repos",
        "events_url": "https://api.github.com/users/hacktocat/events{/privacy}",
        "received_events_url": "https://api.github.com/users/hacktocat/received_events",
        "type": "User",
        "site_admin": false
      },
      "organization": {
        "login": "Octocoders",
        "id": 38302899,
        "node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5",
        "url": "https://api.github.com/orgs/Octocoders",
        "repos_url": "https://api.github.com/orgs/Octocoders/repos",
        "events_url": "https://api.github.com/orgs/Octocoders/events",
        "hooks_url": "https://api.github.com/orgs/Octocoders/hooks",
        "issues_url": "https://api.github.com/orgs/Octocoders/issues",
        "members_url": "https://api.github.com/orgs/Octocoders/members{/member}",
        "public_members_url": "https://api.github.com/orgs/Octocoders/public_members{/member}",
        "avatar_url": "https://avatars1.githubusercontent.com/u/38302899?v=4",
        "description": ""
      },
      "sender": {
        "login": "Octocoders",
        "id": 38302899,
        "node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5",
        "avatar_url": "https://avatars1.githubusercontent.com/u/38302899?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/Octocoders",
        "html_url": "https://github.com/Octocoders",
        "followers_url": "https://api.github.com/users/Octocoders/followers",
        "following_url": "https://api.github.com/users/Octocoders/following{/other_user}",
        "gists_url": "https://api.github.com/users/Octocoders/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/Octocoders/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/Octocoders/subscriptions",
        "organizations_url": "https://api.github.com/users/Octocoders/orgs",
        "repos_url": "https://api.github.com/users/Octocoders/repos",
        "events_url": "https://api.github.com/users/Octocoders/events{/privacy}",
        "received_events_url": "https://api.github.com/users/Octocoders/received_events",
        "type": "Organization",
        "site_admin": false
      }
    }
  }
}