---
title: "Create Environment"
method: POST
path: "/projects/{uuid}/environments"
tags: ["Projects"]
---

# Create Environment

`POST /projects/{uuid}/environments`

Create environment in project.

## Path parameters

- `uuid` string, required

## Request body

- object
  - `name` string — The name of the environment.

## Response `201`

Environment created.

- object
  - `uuid` string — The UUID of the environment.

## Other responses

- `400` — Invalid token.
- `401` — Unauthenticated.
- `404` — Project not found.
- `409` — Environment with this name already exists.
- `422` — Validation error.

---

[API](https://skmtc.net/coollabsio/apis/coolify.md) · [All operations](https://skmtc.net/coollabsio/apis/coolify/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coollabsio/coolify/versions/08be5dc8e729/schema)
