---
title: "Press a keyboard key"
method: POST
path: "/tabs/{tabId}/press"
tags: ["Interaction"]
---

# Press a keyboard key

`POST /tabs/{tabId}/press`

## Path parameters

- `tabId` string, required

## Request body

- object
  - `userId` string, required
  - `key` string, required — Key name (e.g. "Enter", "Escape", "Tab").

## Response `200`

Key pressed.

- object
  - `ok` boolean

## Other responses

- `404` — Tab not found.

---

[API](https://skmtc.dev/jo-inc/apis/camofox-browser.md) · [All operations](https://skmtc.dev/jo-inc/apis/camofox-browser/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jo-inc/camofox-browser/revisions/d007e73dad3d/schema)
