Skip to main content
POST
/
api
/
v1
/
code-sandbox
/
run
Run code in sandbox
curl --request POST \
  --url https://flowra.dev/api/v1/code-sandbox/run \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "source": "<string>",
  "language": "javascript",
  "state": {},
  "timeout": 8000
}
'
{
  "success": true,
  "message": "Operation completed successfully",
  "data": {}
}

Authorizations

x-api-key
string
header
required

Project API key. Create and manage keys in the dashboard under Project → API Keys. Send as header: x-api-key:

Body

application/json

Response

Code run result