---
title: "Get available issue templates for a repository"
method: GET
path: "/repos/{owner}/{repo}/issue_templates"
tags: ["repository"]
---

# Get available issue templates for a repository

`GET /repos/{owner}/{repo}/issue_templates`

## Path parameters

- `owner` string, required
- `repo` string, required

## Response `200`

IssueTemplates

- IssueTemplate[]
  - `about` string
  - `assignees` string[]
  - `body` IssueFormField[]
    - `attributes` object
    - `id` string
    - `type` 'markdown' | 'textarea' | 'input' | 'dropdown' | 'checkboxes'
    - `validations` object
    - `visible` string[]
  - `content` string
  - `file_name` string
  - `labels` string[]
  - `name` string
  - `ref` string
  - `title` string

## Other responses

- `404` — APINotFound is a not found empty response

---

[API](https://skmtc.net/gitea/apis/gitea-api.md) · [All operations](https://skmtc.net/gitea/apis/gitea-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitea/gitea-api/revisions/350de506cefa/schema)
