---
title: "Create Repository in Organization"
method: POST
path: "/api/v1/orgs/{org}/repos"
---

# Create Repository in Organization

`POST /api/v1/orgs/{org}/repos`

## Request

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

## Path parameters

- `org` string, required

## Request body

- object
  - `name` string, required
  - `description` string
  - `visibility` 'public' | 'private'
  - `defaultBranch` string

## Response `201`

Repository 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)
