---
title: "Create new virtual desktop session"
method: POST
path: "/api/dcv/virtual_desktops/create"
tags: ["Virtual Desktops"]
---

# Create new virtual desktop session

`POST /api/dcv/virtual_desktops/create`

Provisions a new EC2 instance with DCV for remote desktop access

## Headers

- `X-EDH-USER` string, required
- `X-EDH-TOKEN` string, required

## Response `200`

Virtual desktop session creation initiated successfully

- object
  - `success` boolean, required
  - `message` string, required

## Other responses

- `400` — Invalid request parameters
- `401` — Authentication failed
- `403` — Feature not enabled or insufficient permissions
- `500` — Internal server error during session creation

---

[API](https://skmtc.net/aws-samples/apis/engineering-development-hub-edh-api.md) · [All operations](https://skmtc.net/aws-samples/apis/engineering-development-hub-edh-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws-samples/engineering-development-hub-edh-api/versions/6db97cead8df/schema)
