curl --request POST \
--url 'https://api.sandbox.stateset.app/api/v1/sandbox/{id}/keyboard' \
--header "Authorization: Bearer $STATESET_SANDBOX_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"action": "type",
"text": "Two-person tent, green — replacement for damaged pole set.",
"key": "string",
"keys": [
"string"
],
"modifiers": [
"string"
],
"delayMs": 0
}'
{
"success": true
}
Perform a keyboard action (type, key, hotkey)
Keyboard action executed successfully
POST
/
api
/
v1
/
sandbox
/
{id}
/
keyboard
curl --request POST \
--url 'https://api.sandbox.stateset.app/api/v1/sandbox/{id}/keyboard' \
--header "Authorization: Bearer $STATESET_SANDBOX_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"action": "type",
"text": "Two-person tent, green — replacement for damaged pole set.",
"key": "string",
"keys": [
"string"
],
"modifiers": [
"string"
],
"delayMs": 0
}'
{
"success": true
}
Path parameters
string (uuid)
required
Sandbox identifier
Request body
KeyboardActionRequest
string
required
string
string
string[]
string[]
integer
Response
SuccessResponse
boolean
Status codes
| Code | Meaning |
|---|---|
200 | Keyboard action executed successfully |
400 | Invalid request |
404 | Sandbox not found |
500 | Keyboard action failed |
curl --request POST \
--url 'https://api.sandbox.stateset.app/api/v1/sandbox/{id}/keyboard' \
--header "Authorization: Bearer $STATESET_SANDBOX_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"action": "type",
"text": "Two-person tent, green — replacement for damaged pole set.",
"key": "string",
"keys": [
"string"
],
"modifiers": [
"string"
],
"delayMs": 0
}'
{
"success": true
}
Last modified on August 31, 2026