{
  "generated_from": "hookdeck/webhook-registry",
  "registry_commit": "a24c8d9784c9e9fe937c63f76adbce108201378f",
  "registry_committed_at": "2026-11-19T08:56:09Z",
  "disclaimer": "Independent reference. Not affiliated with Bitbucket.",
  "vendor": "bitbucket",
  "event": "pullrequest:fulfilled",
  "resource": "pullrequest",
  "url": "https://hookdeck.com/webhooks/bitbucket/events#pullrequest%3Afulfilled",
  "description": "Pull request gets merged",
  "trigger": null,
  "listed_in": "https://support.atlassian.com/bitbucket-cloud/docs/event-payloads/",
  "confidence": "verified",
  "schema_source": "from a captured delivery",
  "identified_by": "x-event-key header",
  "payload": {
    "provenance": "sample-repo",
    "value_realism": "real-shape-redacted-values",
    "field_count": 218,
    "key_fields": [],
    "delivery": {
      "title": "Seen in a captured delivery",
      "content_type": "application/json",
      "headers": [
        "user-agent",
        "content-type",
        "x-attempt-number",
        "x-b3-sampled",
        "x-b3-spanid",
        "x-b3-traceid",
        "x-event-key",
        "x-event-time",
        "x-hook-uuid",
        "x-request-uuid"
      ]
    },
    "body": {
      "repository": {
        "type": "repository",
        "full_name": "jane-doe/jane-doe",
        "links": {
          "self": {
            "href": "https://api.bitbucket.org/2.0/repositories/jane-doe/jane-doe"
          },
          "html": {
            "href": "https://bitbucket.org/jane-doe/jane-doe"
          },
          "avatar": {
            "href": "https://bytebucket.org/ravatar/%7B7c9a2905-962d-4fb1-83a1-d316012f033a%7D?ts=default"
          }
        },
        "name": "HookdeckWrite",
        "scm": "git",
        "website": null,
        "owner": {
          "display_name": "jane-doe",
          "links": {
            "self": {
              "href": "https://api.bitbucket.org/2.0/workspaces/%7Ba217ee3e-d18c-4f19-8ebd-82576d644050%7D"
            },
            "avatar": {
              "href": "https://bitbucket.org/account/jane-doe/avatar/"
            },
            "html": {
              "href": "https://bitbucket.org/%7Ba217ee3e-d18c-4f19-8ebd-82576d644050%7D/"
            }
          },
          "type": "team",
          "uuid": "{00000000-0000-4000-8000-000000000001}",
          "username": "jane-doe"
        },
        "workspace": {
          "type": "workspace",
          "uuid": "{00000000-0000-4000-8000-000000000001}",
          "name": "jane-doe",
          "slug": "jane-doe",
          "links": {
            "avatar": {
              "href": "https://bitbucket.org/workspaces/jane-doe/avatar/?ts=1675403623"
            },
            "html": {
              "href": "https://bitbucket.org/jane-doe/"
            },
            "self": {
              "href": "https://api.bitbucket.org/2.0/workspaces/jane-doe"
            }
          }
        },
        "is_private": true,
        "project": {
          "type": "project",
          "key": "HOOK",
          "uuid": "{00000000-0000-4000-8000-000000000003}",
          "name": "jane-doe",
          "links": {
            "self": {
              "href": "https://api.bitbucket.org/2.0/workspaces/jane-doe/projects/HOOK"
            },
            "html": {
              "href": "https://bitbucket.org/jane-doe/workspace/projects/HOOK"
            },
            "avatar": {
              "href": "https://bitbucket.org/account/user/jane-doe/projects/HOOK/avatar/32?ts=1675403694"
            }
          }
        },
        "uuid": "{00000000-0000-4000-8000-000000000004}"
      },
      "actor": {
        "display_name": "jane-doe",
        "links": {
          "self": {
            "href": "https://api.bitbucket.org/2.0/users/%7B72df0fc8-d124-495a-aa95-c8e9d5cb2001%7D"
          },
          "avatar": {
            "href": "https://secure.gravatar.com/avatar/00000000000000000000000000000000?d=mm"
          },
          "html": {
            "href": "https://bitbucket.org/%7B72df0fc8-d124-495a-aa95-c8e9d5cb2001%7D/"
          }
        },
        "type": "user",
        "uuid": "{00000000-0000-4000-8000-000000000005}",
        "account_id": "example-id-6",
        "nickname": "jane-doe"
      },
      "pullrequest": {
        "comment_count": 1,
        "task_count": 0,
        "type": "pullrequest",
        "id": 1,
        "title": "New changes-multiple",
        "description": "* testfile.md created online with Bitbucket\r\n* anotherfile.md created online with Bitbucket\r\n* thirdfile created online with Bitbucket\r\n\r\n‌",
        "rendered": {
          "title": {
            "type": "rendered",
            "raw": "New changes-multiple",
            "markup": "markdown",
            "html": "<p>New changes-multiple</p>"
          },
          "description": {
            "type": "rendered",
            "raw": "* testfile.md created online with Bitbucket\r\n* anotherfile.md created online with Bitbucket\r\n* thirdfile created online with Bitbucket\r\n\r\n‌",
            "markup": "markdown",
            "html": "<ul>\n<li>testfile.md created online with Bitbucket</li>\n<li>anotherfile.md created online with Bitbucket</li>\n<li>thirdfile created online with Bitbucket</li>\n</ul>\n<p>‌</p>"
          }
        },
        "state": "MERGED",
        "merge_commit": {
          "type": "commit",
          "hash": "ed2903eec378",
          "links": {
            "self": {
              "href": "https://api.bitbucket.org/2.0/repositories/jane-doe/jane-doe/commit/ed2903eec378"
            },
            "html": {
              "href": "https://bitbucket.org/jane-doe/jane-doe/commits/ed2903eec378"
            }
          }
        },
        "close_source_branch": false,
        "closed_by": {
          "display_name": "jane-doe",
          "links": {
            "self": {
              "href": "https://api.bitbucket.org/2.0/users/%7B72df0fc8-d124-495a-aa95-c8e9d5cb2001%7D"
            },
            "avatar": {
              "href": "https://secure.gravatar.com/avatar/00000000000000000000000000000000?d=mm"
            },
            "html": {
              "href": "https://bitbucket.org/%7B72df0fc8-d124-495a-aa95-c8e9d5cb2001%7D/"
            }
          },
          "type": "user",
          "uuid": "{00000000-0000-4000-8000-000000000005}",
          "account_id": "example-id-6",
          "nickname": "jane-doe"
        },
        "author": {
          "display_name": "jane-doe",
          "links": {
            "self": {
              "href": "https://api.bitbucket.org/2.0/users/%7B72df0fc8-d124-495a-aa95-c8e9d5cb2001%7D"
            },
            "avatar": {
              "href": "https://secure.gravatar.com/avatar/00000000000000000000000000000000?d=mm"
            },
            "html": {
              "href": "https://bitbucket.org/%7B72df0fc8-d124-495a-aa95-c8e9d5cb2001%7D/"
            }
          },
          "type": "user",
          "uuid": "{00000000-0000-4000-8000-000000000005}",
          "account_id": "example-id-6",
          "nickname": "jane-doe"
        },
        "reason": "",
        "created_on": "2023-03-08T06:10:12.744328+00:00",
        "updated_on": "2023-03-08T06:12:22.485416+00:00",
        "destination": {
          "branch": {
            "name": "master"
          },
          "commit": {
            "type": "commit",
            "hash": "0ccb80619bd1",
            "links": {
              "self": {
                "href": "https://api.bitbucket.org/2.0/repositories/jane-doe/jane-doe/commit/0ccb80619bd1"
              },
              "html": {
                "href": "https://bitbucket.org/jane-doe/jane-doe/commits/0ccb80619bd1"
              }
            }
          },
          "repository": {
            "type": "repository",
            "full_name": "jane-doe/jane-doe",
            "links": {
              "self": {
                "href": "https://api.bitbucket.org/2.0/repositories/jane-doe/jane-doe"
              },
              "html": {
                "href": "https://bitbucket.org/jane-doe/jane-doe"
              },
              "avatar": {
                "href": "https://bytebucket.org/ravatar/%7B7c9a2905-962d-4fb1-83a1-d316012f033a%7D?ts=default"
              }
            },
            "name": "HookdeckWrite",
            "uuid": "{00000000-0000-4000-8000-000000000004}"
          }
        },
        "source": {
          "branch": {
            "name": "new-branch"
          },
          "commit": {
            "type": "commit",
            "hash": "0845504f4acb",
            "links": {
              "self": {
                "href": "https://api.bitbucket.org/2.0/repositories/jane-doe/jane-doe/commit/0845504f4acb"
              },
              "html": {
                "href": "https://bitbucket.org/jane-doe/jane-doe/commits/0845504f4acb"
              }
            }
          },
          "repository": {
            "type": "repository",
            "full_name": "jane-doe/jane-doe",
            "links": {
              "self": {
                "href": "https://api.bitbucket.org/2.0/repositories/jane-doe/jane-doe"
              },
              "html": {
                "href": "https://bitbucket.org/jane-doe/jane-doe"
              },
              "avatar": {
                "href": "https://bytebucket.org/ravatar/%7B7c9a2905-962d-4fb1-83a1-d316012f033a%7D?ts=default"
              }
            },
            "name": "HookdeckWrite",
            "uuid": "{00000000-0000-4000-8000-000000000004}"
          }
        },
        "reviewers": [],
        "participants": [
          {
            "type": "participant",
            "user": {
              "display_name": "jane-doe",
              "links": {
                "self": {
                  "href": "https://api.bitbucket.org/2.0/users/%7B72df0fc8-d124-495a-aa95-c8e9d5cb2001%7D"
                },
                "avatar": {
                  "href": "https://secure.gravatar.com/avatar/00000000000000000000000000000000?d=mm"
                },
                "html": {
                  "href": "https://bitbucket.org/%7B72df0fc8-d124-495a-aa95-c8e9d5cb2001%7D/"
                }
              },
              "type": "user",
              "uuid": "{00000000-0000-4000-8000-000000000005}",
              "account_id": "example-id-6",
              "nickname": "jane-doe"
            },
            "role": "PARTICIPANT",
            "approved": true,
            "state": "approved",
            "participated_on": "2023-03-08T06:12:10.654730+00:00"
          }
        ],
        "links": {
          "self": {
            "href": "https://api.bitbucket.org/2.0/repositories/jane-doe/jane-doe/pullrequests/1"
          },
          "html": {
            "href": "https://bitbucket.org/jane-doe/jane-doe/pull-requests/1"
          },
          "commits": {
            "href": "https://api.bitbucket.org/2.0/repositories/jane-doe/jane-doe/pullrequests/1/commits"
          },
          "approve": {
            "href": "https://api.bitbucket.org/2.0/repositories/jane-doe/jane-doe/pullrequests/1/approve"
          },
          "request-changes": {
            "href": "https://api.bitbucket.org/2.0/repositories/jane-doe/jane-doe/pullrequests/1/request-changes"
          },
          "diff": {
            "href": "https://api.bitbucket.org/2.0/repositories/jane-doe/jane-doe/diff/jane-doe/jane-doe:0845504f4acb%0D0ccb80619bd1?from_pullrequest_id=1&topic=true"
          },
          "diffstat": {
            "href": "https://api.bitbucket.org/2.0/repositories/jane-doe/jane-doe/diffstat/jane-doe/jane-doe:0845504f4acb%0D0ccb80619bd1?from_pullrequest_id=1&topic=true"
          },
          "comments": {
            "href": "https://api.bitbucket.org/2.0/repositories/jane-doe/jane-doe/pullrequests/1/comments"
          },
          "activity": {
            "href": "https://api.bitbucket.org/2.0/repositories/jane-doe/jane-doe/pullrequests/1/activity"
          },
          "merge": {
            "href": "https://api.bitbucket.org/2.0/repositories/jane-doe/jane-doe/pullrequests/1/merge"
          },
          "decline": {
            "href": "https://api.bitbucket.org/2.0/repositories/jane-doe/jane-doe/pullrequests/1/decline"
          },
          "statuses": {
            "href": "https://api.bitbucket.org/2.0/repositories/jane-doe/jane-doe/pullrequests/1/statuses"
          }
        },
        "summary": {
          "type": "rendered",
          "raw": "* testfile.md created online with Bitbucket\r\n* anotherfile.md created online with Bitbucket\r\n* thirdfile created online with Bitbucket\r\n\r\n‌",
          "markup": "markdown",
          "html": "<ul>\n<li>testfile.md created online with Bitbucket</li>\n<li>anotherfile.md created online with Bitbucket</li>\n<li>thirdfile created online with Bitbucket</li>\n</ul>\n<p>‌</p>"
        }
      }
    }
  }
}