Skip to main content
POST
/
demo
/
session
Create demo session
curl --request POST \
  --url https://api.structural.app/api/v1/demo/session
{
  "data": {
    "api_key": "sk_demo_a1b2c3d4e5f6g7h8",
    "customer_id": "550e8400-e29b-41d4-a716-446655440000"
  }
}
Creates an isolated sandbox environment with its own customer scope and API key. No authentication required - this is the entry point for trying the API. The returned api_key is prefixed with sk_demo_ and is the only credential you need for all subsequent API calls. It is returned exactly once - there is no retrieval endpoint. Save it immediately. The customer_id is the scope your key is bound to. It is reserved for future use; do not rely on its format.
Rate limited to 5 requests per IP per minute. If you hit the limit, wait 60 seconds.

Response

Demo session created

data
object