---
title: "Create GitHub repository"
method: POST
path: "/api/v1/github/repos"
---

# Create GitHub repository

`POST /api/v1/github/repos`

Create a new GitHub repository via the installed app

## Request body

- object
  - `isPrivate` boolean
  - `description` string
  - `name` string, required

## Response `201`

Created

- object
  - `results` object, required
    - `defaultBranch` string, required
    - `fullName` string, required
    - `repo` string, required
    - `owner` string, required
  - `status` 'ok', required

---

[API](https://skmtc.net/lightdash/apis/lightdash-api.md) · [All operations](https://skmtc.net/lightdash/apis/lightdash-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lightdash/lightdash-api/versions/40c933755c9a/schema)
