---
title: "Create an organization"
method: POST
path: "/user/orgs"
tags: ["Organizations"]
---

# Create an organization

`POST /user/orgs`

Creates an organization for the authenticated user.

## Request body

- object
  - `username` string, required
  - `full_name` string
  - `description` string
  - `website` string
  - `location` string

## Response `201`

Organization created successfully.

- Organization
  - `id` integer
  - `username` string
  - `full_name` string
  - `avatar_url` string
  - `description` string
  - `website` string
  - `location` string

## Other responses

- `422` — Organization name already exists or is not allowed.

---

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