Skip to main content
POST
/
v2
/
sandcastles
Start Sandcastle
curl --request POST \
  --url https://app.textql.com/v2/sandcastles \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "sandbox_id": "<string>"
}
'
{
  "sandbox_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z"
}
Omit the body (or send {}) to create a new sandcastle. To restart an existing one, pass back the sandbox_id you got from create or list: {"sandbox_id": "..."}. You can only restart your own sandcastles.

Authorizations

Authorization
string
header
required

API key or JWT token

Body

application/json
sandbox_id
string

Restart an existing sandcastle by passing back the sandbox_id returned by create or list; omit to create a new sandcastle. You can only restart your own sandcastles.

Response

Started sandbox

sandbox_id
string

Unique sandbox identifier

created_at
string<date-time>