---
title: "Pull request queued"
method: POST
path: "pull_request.queued"
---

# Pull request queued

`POST pull_request.queued` (webhook)

Triggered when a PR has passed any branch protection requirements and is ready to be tested in the merge queue

## Payload

- object — Triggered when a PR has passed any branch protection requirements and is ready to be tested in the merge queue
  - `queued_reason` 'MANUAL_PUSH_TO_TARGET_BRANCH' | 'PREREQUISITE_MERGE_ITEM_CANCELLED' | 'PREREQUISITE_MERGE_ITEM_FAILED' | 'PREREQUISITE_MERGE_ITEM_MANUALLY_MERGED' | 'MERGE_ITEM_NOW_READY' | 'TESTS_RESTARTED_BY_USER' | 'TESTS_RESTARTED_BY_API_REQUEST' | 'SKIP_THE_LINE_INTERRUPTED' | 'BISECTION_REQUIRED' | 'BISECTION_TEST_RUN_PASSED' — The reason the PR was queued
  - `type` 'pull_request.queued', required — The type of webhook event that occurred
  - `action` 'queued', required — The type of action that triggered the webhook
  - `author` string, required — The username of the author of the PR
  - `http_details_url` string, uri, required — Web link to the details about this PR
  - `pr_number` integer, required — The PR number
  - `repository` object, required — The repository that the webhook event occurred in
    - `host` string, required — The type of source control for this repository
    - `owner` string, required — The name of the repository
    - `name` string, required — The user or organization that owns the repository
  - `status` 'queued', required — The current status of the PR
  - `target_branch` string, required — The name of the branch targeted by the merge queue where the event occurred
  - `timestamp` string, date-time, required — The ISO 8601 timestamp of when this state transition occurred

---

[API](https://skmtc.dev/trunk/apis/trunk-apis.md) · [All operations](https://skmtc.dev/trunk/apis/trunk-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/trunk/trunk-apis/revisions/f7b911d8e24c/schema)
