{
  "generated_from": "hookdeck/webhook-registry",
  "registry_commit": "a24c8d9784c9e9fe937c63f76adbce108201378f",
  "registry_committed_at": "2026-11-19T08:56:09Z",
  "disclaimer": "Independent reference. Not affiliated with GitLab.",
  "vendor": "gitlab",
  "event": "note",
  "resource": "collaboration",
  "url": "https://hookdeck.com/webhooks/gitlab/events#note",
  "description": "Comment added or edited. Sent as Note Hook.",
  "trigger": null,
  "listed_in": "https://docs.gitlab.com/user/project/integrations/webhook_events/#comment-events",
  "confidence": "verified",
  "schema_source": "from a captured delivery",
  "identified_by": "x-gitlab-event header",
  "payload": {
    "provenance": "sample-repo",
    "value_realism": "real-shape-redacted-values",
    "field_count": 92,
    "key_fields": [],
    "delivery": {
      "title": "Seen in a captured delivery",
      "content_type": "application/json",
      "headers": [
        "user-agent",
        "content-type",
        "x-gitlab-event",
        "x-gitlab-event-uuid",
        "x-gitlab-instance",
        "x-gitlab-token"
      ]
    },
    "body": {
      "object_kind": "note",
      "event_type": "note",
      "user": {
        "id": 10000001,
        "name": "jane-doe",
        "username": "jane-doe",
        "avatar_url": "https://secure.gravatar.com/avatar/00000000000000000000000000000000?d=mm",
        "email": "[REDACTED]"
      },
      "project_id": 42958108,
      "project": {
        "id": 42958108,
        "name": "jane-doe",
        "description": null,
        "web_url": "https://gitlab.com/jane-doe/jane-doe",
        "avatar_url": null,
        "git_ssh_url": "git@gitlab.com:jane-doe/jane-doe.git",
        "git_http_url": "https://gitlab.com/jane-doe/jane-doe.git",
        "namespace": "jane-doe",
        "visibility_level": 0,
        "path_with_namespace": "jane-doe/jane-doe",
        "default_branch": "main",
        "ci_config_path": "",
        "homepage": "https://gitlab.com/jane-doe/jane-doe",
        "url": "git@gitlab.com:jane-doe/jane-doe.git",
        "ssh_url": "git@gitlab.com:jane-doe/jane-doe.git",
        "http_url": "https://gitlab.com/jane-doe/jane-doe.git"
      },
      "object_attributes": {
        "attachment": null,
        "author_id": 10000001,
        "change_position": {
          "base_sha": null,
          "start_sha": null,
          "head_sha": null,
          "old_path": null,
          "new_path": null,
          "position_type": "text",
          "old_line": null,
          "new_line": null,
          "line_range": null
        },
        "commit_id": "6752dd8e9b70a034e36b495d26626dafef42c53c",
        "created_at": "2023-03-06 04:38:16 UTC",
        "discussion_id": "1f3a53063b9739107c9dc86a12aebb03d197a91b",
        "id": 1301562881,
        "line_code": "8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d_11_12",
        "note": "commented",
        "noteable_id": null,
        "noteable_type": "Commit",
        "original_position": {
          "base_sha": "c32d8669f6b1afa6c8b4b634fad5201f6dd9d2f7",
          "start_sha": "c32d8669f6b1afa6c8b4b634fad5201f6dd9d2f7",
          "head_sha": "6752dd8e9b70a034e36b495d26626dafef42c53c",
          "old_path": "README.md",
          "new_path": "README.md",
          "position_type": "text",
          "old_line": null,
          "new_line": 12,
          "line_range": null
        },
        "position": {
          "base_sha": "c32d8669f6b1afa6c8b4b634fad5201f6dd9d2f7",
          "start_sha": "c32d8669f6b1afa6c8b4b634fad5201f6dd9d2f7",
          "head_sha": "6752dd8e9b70a034e36b495d26626dafef42c53c",
          "old_path": "README.md",
          "new_path": "README.md",
          "position_type": "text",
          "old_line": null,
          "new_line": 12,
          "line_range": null
        },
        "project_id": 42958108,
        "resolved_at": null,
        "resolved_by_id": null,
        "resolved_by_push": null,
        "st_diff": null,
        "system": false,
        "type": "DiffNote",
        "updated_at": "2023-03-06 04:38:16 UTC",
        "updated_by_id": null,
        "description": "commented",
        "url": "https://gitlab.com/jane-doe/jane-doe/-/commit/6752dd8e9b70a034e36b495d26626dafef42c53c#note_1301562881"
      },
      "repository": {
        "name": "jane-doe",
        "url": "git@gitlab.com:jane-doe/jane-doe.git",
        "description": null,
        "homepage": "https://gitlab.com/jane-doe/jane-doe"
      },
      "commit": {
        "id": "6752dd8e9b70a034e36b495d26626dafef42c53c",
        "message": "Update README.md",
        "title": "Update README.md",
        "timestamp": "2023-01-27T15:11:04+00:00",
        "url": "https://gitlab.com/jane-doe/jane-doe/-/commit/6752dd8e9b70a034e36b495d26626dafef42c53c",
        "author": {
          "name": "jane-doe",
          "email": "user1@example.com"
        }
      }
    }
  }
}