Skip to main content
POST
/
v1
/
portal
/
chats
/
{chat_id}
/
clipboard
/
set
curl -X POST https://portal-api.7331.org/v1/portal/chats/42/clipboard/set \
  -H "Content-Type: application/json" \
  -b "psession=YOUR_SESSION" \
  -d '{"text": "paste this into the VM"}'
{
  "ok": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.7331.org/llms.txt

Use this file to discover all available pages before exploring further.

Requires an active session cookie. The caller must be the chat owner or have Admin+ permissions. The browser VM must be running. Whitespace is preserved (not stripped).
chat_id
integer
required
Chat ID.
text
string
required
Text to set on the VM clipboard. Max 10,000 characters.

Response

ok
boolean
required
true if the clipboard was set.
curl -X POST https://portal-api.7331.org/v1/portal/chats/42/clipboard/set \
  -H "Content-Type: application/json" \
  -b "psession=YOUR_SESSION" \
  -d '{"text": "paste this into the VM"}'
{
  "ok": true
}