---
title: "Write text to the clipboard on the browser instance"
method: POST
path: "/browsers/{id_or_name}/computer/clipboard/write"
tags: ["Browser Computer Controls"]
---

# Write text to the clipboard on the browser instance

`POST /browsers/{id_or_name}/computer/clipboard/write`

## Request

- Base URL: `https://api.onkernel.com`
- URL: `https://api.onkernel.com/browsers/{id_or_name}/computer/clipboard/write`
- Auth: HTTP bearer

## Path parameters

- `id_or_name` string, required

## Request body

- WriteClipboardRequest
  - `text` string, required: Text to write to the system clipboard

## Response `200`

Text written to clipboard successfully

## Other responses

- `400`: Bad Request – invalid input
- `404`: Resource not found
- `500`: Internal Server Error
- `default`: Error returned by the browser or its proxy

---

[API](https://skmtc.dev/kernel/apis/kernel-api.md) - [All operations](https://skmtc.dev/kernel/apis/kernel-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kernel/apis/kernel-api/revisions/0f6cf4f58fe6?raw)
