---
title: "Create Pull Request"
method: POST
path: "/api/v1/repos/{org}/{repo}/pulls"
---

# Create Pull Request

`POST /api/v1/repos/{org}/{repo}/pulls`

## Request

- Base URL: `http://localhost:3000`
- URL: `http://localhost:3000/api/v1/repos/{org}/{repo}/pulls`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `kukgit_session`

## Path parameters

- `org` string, required
- `repo` string, required

## Request body

- object
  - `title` string, required
  - `body` string
  - `headBranch` string, required
  - `baseBranch` string, required
  - `draft` boolean

## Response `201`

Pull request created

---

[API](https://skmtc.dev/kuklabs/apis/kukgit-public-rest-api.md) · [All operations](https://skmtc.dev/kuklabs/apis/kukgit-public-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kuklabs/apis/kukgit-public-rest-api/revisions/99068df70ab1?raw)
