v2
latestOpenAPI 3.1.0UNLICENSED2026-07-26210239.8 KBPull request merged
Triggered when a PR is merged
postWebhookpull_request.merged
Payload
test_branchstring
The branch the pull request or pull request batch was tested on
test_branch_shastring
The SHA of the branch the pull request or pull request batch was tested on
test_pr_numberinteger
The number of the pull request used to test the pull request or pull request batch
batchedboolean
Whether this pull request was part of a batch
merged_reason'MERGE_GRAPH_MERGE' | 'MANUAL_MERGE' | 'MERGE_GRAPH_DIRECT_MERGE'
The reason the PR was merged
type'pull_request.merged' required
The type of webhook event that occurred
action'merged' required
The type of action that triggered the webhook
authorstring required
The username of the author of the PR
http_details_urlstring uri required
Web link to the details about this PR
pr_numberinteger required
The PR number
status'merged' required
The current status of the PR
target_branchstring required
The name of the branch targeted by the merge queue where the event occurred
timestampstring date-time required
The ISO 8601 timestamp of when this state transition occurred