---
title: "GET /api/v1/two-way-sync/{spaceId}/pull-requests"
method: GET
path: "/api/v1/two-way-sync/{spaceId}/pull-requests"
---

# GET /api/v1/two-way-sync/{spaceId}/pull-requests

`GET /api/v1/two-way-sync/{spaceId}/pull-requests`

## Request

- Base URL: `https://falconer.com` (the document declares no server; this is the origin it was published from)
- URL: `https://falconer.com/api/v1/two-way-sync/{spaceId}/pull-requests`
- Auth: none declared

## Path parameters

- `spaceId` integer, required: Space id, from GET /spaces.

## Headers

- `x-organization-id` string: Required when using OAuth bearer tokens.

## Response `200`

Open Falconer pull requests from this folder. Empty unless the folder pushes through pull requests.

- TwoWaySyncPullRequestList
  - `data` object[], required
    - `number` integer, required
    - `url` string, required
    - `title` string, required
    - `documentCount` integer, required
    - `lastPushedByName` string, nullable, required
    - `isMine` boolean, required
    - `reuse` 'allowed' | 'blocked' | 'unrelated', required: allowed: a push can land on it. blocked: it is on the current branch but a push will not join it. unrelated: it targets a branch this folder no longer syncs.

## Other responses

- `400`: Bad request, or a folder that is not the sync root
- `403`: Permission is missing
- `404`: Folder not synced, or file not found

---

[API](https://skmtc.dev/falconer/apis/falconer-public-api.md) · [All operations](https://skmtc.dev/falconer/apis/falconer-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/falconer/apis/falconer-public-api/revisions/7b303b7ddf6a?raw)
