---
search:
  tags:
    - Projects
    - POST
seo:
  description: >-
    Creates a project in an organisation, with its production environment. Luna
    makes… Reference for the POST /_luna/orgs/{org}/projects endpoint in the
    Luna API.
sidebar:
  label: Create a project
  badge: POST
title: Create a project
type: openapi-operation
---
Creates a project in an organisation, with its production environment. Luna makes the slug from the name. Answers 409 when the organisation already has a project of that name. An API key needs to reach the whole organisation.

`POST /_luna/orgs/{org}/projects`

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

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

Request body example:

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

**Responses**

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

Response example, 200:

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