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

# Create an organization

`POST /orgs`

Creates an organization. The authenticated user becomes the owner of the organization.

## Request body

- OrganizationRequest
  - `name` string, required — Must be a unique organization name
  - `contact` string, required
  - `website` string, uri, required
  - `feature_flags` string[]
  - `preferred_region` 'ap-south-1' | 'ap-southeast-1' | 'us-east-1' | 'eu-central-1'

## Response `201`

Operation successful

- OrganizationSuccessResponse
  - `success` boolean, required
  - `data` OrganizationData, required
    - `id` string, uuid, required — ID of the organization
    - `name` string, required — Must be a unique organization name
    - `contact` string, required
    - `website` string, uri, required
    - `apikey` string, required
    - `preferred_region` string, required
    - `feature_flags` string[], required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required

## Other responses

- `400` — Malformed request
- `401` — Unauthorized user
- `409` — Organization with the provided name already exists

---

[API](https://skmtc.net/dyte-io/apis/dyte-rest-apis.md) · [All operations](https://skmtc.net/dyte-io/apis/dyte-rest-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dyte-io/dyte-rest-apis/versions/f62d3edd92ae/schema)
