---
title: "Create Repository Issue"
method: POST
path: "/api/v2/repos/{username}/{repo_name}/issues"
---

# Create Repository Issue

`POST /api/v2/repos/{username}/{repo_name}/issues`

Create new issue in repo repository

## Path parameters

- `username` string, required
- `repo_name` string, required

## Headers

- `authorization` string, nullable

## Cookies

- `modaic_session` string, nullable

## Request body

- CreateIssueRequest
  - `title` string, required
  - `body` string, nullable
  - `assignee` string, nullable
  - `assignees` string[], nullable
  - `milestone` integer, nullable
  - `labels` string[], nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

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