---
title: "POST /organizations"
method: POST
path: "/organizations"
tags: ["svc-org-management_other"]
---

# POST /organizations

`POST /organizations`

## Headers

- `X-Client-Request-ID` string, uuid

## Request body

- OrgManagementCreateOrganizationRequest
  - `name` string — A name for the entity to be displayed in UI

## Response `201`

Organization created successfully

- OrgManagementOrganization
  - `id` string, required — Identifier for API resources. A 26-char nanoid (URL/DNS safe).
  - `name` string, required — A name for the entity to be displayed in UI
  - `label` string, required — A domain name segment for the entity, often derived from the name.
  - `sso_enabled` boolean, required — Whether SSO is enabled for this organization
  - `created_at` string, date-time, required — The time the entity was created in utc
  - `updated_at` string, date-time, required — The time the entity was mostly recently updated in utc
  - `permissions` OrgManagementPermissions — Permissions granted to the authenticated principal for this resource. Only populated when the 'expand[]=permissions' query parameter is provided. Keys are resource types (e.g., "organizations"), values are objects mapping permission names to boolean values indicating if the permission is granted.

## Other responses

- `400` — bad request error response when caller supplied invalid input data
- `401` — unauthorized error response when caller session is not authenticated
- `403` — forbidden error response when caller does not have permissions to a resource
- `409` — Organization with label already exists
- `429` — rate limit exceeded error response when caller has exhausted api limits for the given time period
- `500` — internal server error response when server encountered error of its own creation
- `503` — service unavailable error when server you're attempting to reach is not available
- `default` — internal server error response when server encountered error of its own creation

---

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