---
search:
  tags:
    - Organisations
    - POST
seo:
  description: >-
    Creates an organisation and makes your account its owner. Luna makes the
    slug from the name.… Reference for the POST /_luna/orgs endpoint in the Luna
    API.
sidebar:
  label: Create an organisation
  badge: POST
title: Create an organisation
type: openapi-operation
---
Creates an organisation and makes your account its owner. Luna makes the slug from the name. Answers 409 when you are already in an organisation of that name. Another account can have one of the same name. An API key cannot do this.

`POST /_luna/orgs`

**Request body** (`application/json`, required)

- `name` (string) — At most 100 characters.

Request body example:

```json
{
  "name": "string"
}
```

**Responses**

- `200` — The new organisation.
- `default` — The request failed. The status says how and \`error.message\` says why.

Response example, 200:

```json
{
  "id": "string",
  "slug": "string",
  "name": "string",
  "createdMs": 0
}
```
