---
title: "CreateGithubPullRequest creates a Github PR from the specified branch in the project's connected Github repository to the primary branch."
method: POST
path: "/v1/orgs/{org}/projects/{project}/github/pr"
---

# CreateGithubPullRequest creates a Github PR from the specified branch in the project's connected Github repository to the primary branch.

`POST /v1/orgs/{org}/projects/{project}/github/pr`

## Path parameters

- `org` string, required
- `project` string, required

## Request body

- object
  - `body` string
  - `branch` string
  - `title` string

## Response `200`

A successful response.

- V1CreateGithubPullRequestResponse
  - `prUrl` string

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.dev/rilldata/apis/rill-admin-api.md) · [All operations](https://skmtc.dev/rilldata/apis/rill-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rilldata/rill-admin-api/revisions/abe7a430f373/schema)
