---
title: "Create Environment"
method: POST
path: "/api/v2/environments"
tags: ["Configuration"]
---

# Create Environment

`POST /api/v2/environments`

Create a new deployment environment. Use to add environments beyond Freeplay defaults, like staging or feature branches.

## Request body

- object
  - `name` string, required

## Response `201`

EnvironmentInfo(id: uuid.UUID, name: str)

- object
  - `id` string, uuid, required
  - `name` string, required

---

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