---
title: "Creates an organization and makes the calling customer its owner."
method: POST
path: "/organizations"
tags: ["Organization"]
---

# Creates an organization and makes the calling customer its owner.

`POST /organizations`

The calling customer becomes both the owner and the billing customer. Responds with 400 when
 the slug is already taken.

## Request body

- CreateOrganizationEndpointInput
  - `name` string, required — The human-readable name of the organization.
  - `slug` string, required — A URL-safe unique identifier for the organization.
  - `primaryDomain` string, nullable — The primary email domain associated with the organization, if any.

## Response `200`

OK

- CreateOrganizationEndpointOutput
  - `organizationId` string, required — The id of the created organization.

## Other responses

- `400` — Bad Request
- `401` — Unauthenticated
- `403` — Forbidden

---

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