---
title: "Create Multidev Environment"
method: POST
path: "/v0/sites/{site_id}/environments"
tags: ["sites"]
---

# Create Multidev Environment

`POST /v0/sites/{site_id}/environments`

Creates a new multidev environment for a site.

## Path parameters

- `site_id` string, required

## Request body

- CreateMultidevRequest
  - `clone_database` boolean — Whether to clone the database from source environment
  - `clone_files` boolean — Whether to clone files from source environment
  - `environment_name` string, required — Name of the new multidev environment
  - `from_environment` string, required — Source environment to clone from

## Response `200`

- WorkflowCreationResponse
  - `active_description` string — Active description of the workflow
  - `id` string, required — Workflow ID
  - `number_of_tasks` integer — Number of tasks in the workflow

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error
- `503` — Service Unavailable

---

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