v2

latestOpenAPI 3.1.0UNLICENSED2026-07-26210239.8 KB

Pull request submitted

Triggered when a PR is submitted to Trunk Merge

postWebhookpull_request.submitted

Payload

submitted_reason'USER_REQUESTED' | 'TRUNK_ADMIN_REQUESTED' | 'API_REQUESTED'

The reason the PR was submitted

type'pull_request.submitted' required

The type of webhook event that occurred

action'submitted' 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'submitted' 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