---
title: "Create a new organization"
method: POST
path: "/orgmng/organizations"
tags: ["Organization"]
---

# Create a new organization

`POST /orgmng/organizations`

## Request

- Base URL: `http://localhost:8486`
- URL: `http://localhost:8486/orgmng/organizations`
- Auth: API key in header `x-auth-token`

Creates a new organization

## Request body

- CreateOrganizationDTO: Organization information
  - `name` string, required
  - `operatorRegistrationNumber` string, required
  - `description` string, required
  - `blockSms` boolean
  - `blockEmail` boolean

## Response `201`

Successfully created the organization

- OrganizationDTO
  - `id` integer
  - `workspaceId` string, uuid
  - `name` string
  - `operatorRegistrationNumber` string
  - `description` string
  - `blockSms` boolean
  - `blockEmail` boolean
  - `active` boolean

## Other responses

- `422`: Invalid input data
- `500`: Internal server error

---

[API](https://skmtc.dev/airdodge/apis/api-core.md) - [All operations](https://skmtc.dev/airdodge/apis/api-core/llms.txt) - [OpenAPI document](https://skmtc.dev/airdodge/apis/api-core/revisions/fb3c5a1055cc?raw)
