---
title: "Copy to clipboard via Ctrl+C"
method: POST
path: "/v1/computer/{machine_id}/copy_to_clipboard"
tags: ["computer"]
---

# Copy to clipboard via Ctrl+C

`POST /v1/computer/{machine_id}/copy_to_clipboard`

Execute Ctrl+C and return clipboard contents with the specified key name.

## Path parameters

- `machine_id` string, required

## Headers

- `Idempotency-Key` string

## Request body

- CopyToClipboardRequest
  - `text` string, required — Key name for the copied data

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/cyberdesk-hq/apis/cyberdesk-cloud.md) · [All operations](https://skmtc.net/cyberdesk-hq/apis/cyberdesk-cloud/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cyberdesk-hq/cyberdesk-cloud/versions/830d2f48963d/schema)
