---
title: "Click mouse button"
method: POST
path: "/v1/computer/{machine_id}/input/mouse/click"
tags: ["computer"]
---

# Click mouse button

`POST /v1/computer/{machine_id}/input/mouse/click`

Click the mouse button at specified coordinates.
If coordinates are not provided, clicks at current position.

## Path parameters

- `machine_id` string, required

## Headers

- `Idempotency-Key` string

## Request body

- MouseClickRequest
  - `x` integer, nullable
  - `y` integer, nullable
  - `button` string
  - `down` boolean, nullable — None = full click, True = mouse down, False = mouse up
  - `clicks` integer — Number of clicks (1=single, 2=double, 3=triple)

## Response `204`

Successful Response

## 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)
