---
title: "Create a new org"
method: POST
path: "/api/v1/orgs"
tags: ["Orgs"]
---

# Create a new org

`POST /api/v1/orgs`

Required scope - write_org

## Request body

- PostOrgReq
  - `name` string, required
  - `slug` string, required
  - `allowPublicRegistration` boolean, required
  - `onlyUseForBrandingOverride` boolean, required

## Response `201`

- object
  - `org` Org
    - `id` number, required
    - `name` string, required
    - `slug` string, required
    - `allowPublicRegistration` boolean, required
    - `onlyUseForBrandingOverride` boolean, required
    - `companyLogoUrl` string, required
    - `companyEmailLogoUrl` string, required
    - `fontFamily` string, required
    - `fontUrl` string, required
    - `layoutColor` string, required
    - `labelColor` string, required
    - `primaryButtonColor` string, required
    - `primaryButtonLabelColor` string, required
    - `primaryButtonBorderColor` string, required
    - `secondaryButtonColor` string, required
    - `secondaryButtonLabelColor` string, required
    - `secondaryButtonBorderColor` string, required
    - `criticalIndicatorColor` string, required
    - `emailSenderName` string, required
    - `termsLink` string, required
    - `privacyPolicyLink` string, required
    - `createdAt` string, required
    - `updatedAt` string, required
    - `deletedAt` string, nullable, required

## Changes

- **2025-06-11** `72b5b4add6a6` — 1 breaking, 1 info
  - added the new required request property `onlyUseForBrandingOverride`
  - added the required property `org/onlyUseForBrandingOverride` to the response with the `201` status
- **2025-05-08** `9d5b2f666eda` — 1 breaking, 1 info
  - added the new required request property `allowPublicRegistration`
  - added the required property `org/allowPublicRegistration` to the response with the `201` status
- **2025-04-17** `f1a1084e2544` — 1 info
  - added the required property `org/companyEmailLogoUrl` to the response with the `201` status
- **2025-01-15** `79954a97bb9b` — 1 breaking, 1 info
  - added the new required request property `slug`
  - added the required property `org/slug` to the response with the `201` status
- **2025-01-03** `e2be4bbc7720` — 1 info
  - endpoint added

[Full history](https://skmtc.dev/valuemelody/apis/melody-auth-s2s-api/changes/api/v1/orgs/post.md)

---

[API](https://skmtc.dev/valuemelody/apis/melody-auth-s2s-api.md) · [All operations](https://skmtc.dev/valuemelody/apis/melody-auth-s2s-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/valuemelody/melody-auth-s2s-api/revisions/2e1471620fd7/schema)
