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

# Create an organization

`POST /orgs`

Creates a new organization as the personal API key owner. The owner becomes the organization owner. Role ceilings and cascades are enforced exactly as in the web app. Requires orgs.profile:read-write and API writes access. Supports an optional `Idempotency-Key` header for safe retries.

## Request body

- CreateOrgBody — Creates a new organization as the API key owner.
  - `name` string, required — Organization name.
  - `tag` string, required — Organization tag (short identifier).
  - `description` string — Optional organization description.

## Response `200`

The organization was created.

- CreateOrgResponse
  - `success` true, required
  - `id` string, required — The created organization ID.
  - `slug` string, required — The created organization slug.
  - `timestamp` string, required — Response generation time (ISO 8601).

## Other responses

- `400` — Bad request (invalid body, cursor, limit, or date).
- `401` — Missing or invalid API key.
- `403` — API key lacks the required permission.
- `404` — Resource not found.
- `429` — Rate limited.
- `500` — Internal server error.

---

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