---
title: "Add organization's repository"
method: POST
path: "/repositories/org/{orgName}"
tags: ["Repositories"]
---

# Add organization's repository

`POST /repositories/org/{orgName}`

## Request

- Base URL: `https://artifacthub.io/api/v1`
- URL: `https://artifacthub.io/api/v1/repositories/org/{orgName}`
- Auth: API key in header `X-API-KEY-ID` and API key in header `X-API-KEY-SECRET`
- TypeScript: <https://skmtc.dev/artifacthub/apis/artifact-hub/docs/repositories/org/:orgName/post.ts> (a function with typed inputs; its response is checked against the schema)

Add organization's repository

## Path parameters

- `orgName` string, required

## Request body

- object
  - `kind` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27: Repository kind: * `0` - Helm charts * `1` - Falco rules * `2` - OPA policies * `3` - OLM operators * `4` - Tinkerbell actions * `5` - Krew kubectl plugins * `6` - Helm plugins * `7` - Tekton tasks * `8` - KEDA scalers * `9` - Core DNS plugins * `10` - Keptn integrations * `11` - Tekton pipelines * `12` - Container images * `13` - Kubewarden policies * `14` - Gatekeeper policies * `15` - Kyverno policies * `16` - Knative client plugins * `17` - Backstage plugins * `18` - Argo templates * `19` - KubeArmor templates * `20` - KCL packages * `21` - Headlamp plugins * `22` - Inspektor gadgets * `23` - Tekton stepactions * `24` - Meshery designs * `25` - Opencost plugins * `26` - Radius recipes * `27` - Bootable containers * `28` - Kagent agents
  - `name` string
  - `display_name` string
  - `url` string

## Response `201`

The request has succeeded and has led to the creation of a resource

## Other responses

- `400`: The request sent was not valid
- `401`: Valid authentication credentials not provided
- `403`: The user does not have permission to perform the requested operation
- `429`: The user has sent too many requests in a given amount of time
- `500`: The server encountered an unexpected condition that prevented it from fulfilling the request

---

[API](https://skmtc.dev/artifacthub/apis/artifact-hub.md) - [All operations](https://skmtc.dev/artifacthub/apis/artifact-hub/llms.txt) - [OpenAPI document](https://skmtc.dev/artifacthub/apis/artifact-hub/revisions/d2e9234264b1?raw)
