---
title: "Get all codes of conduct"
method: GET
path: "/codes_of_conduct"
tags: ["codes-of-conduct"]
---

# Get all codes of conduct

`GET /codes_of_conduct`

Returns array of all GitHub's codes of conduct.

## Response `200`

Response

- CodeOfConduct[]
  - `key` string, required
  - `name` string, required
  - `url` string, uri, required
  - `body` string
  - `html_url` string, uri, nullable, required

## Other responses

- `304` — Not modified

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-3.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-3/versions/dc0584ac4e13/schema)
