Skip to main content

Sandbox

What is a Sandbox Company?

A sandbox company is a linked company of a real company used for safe testing. It allows you to test user invitations, license management, and other operations without affecting real users or data.

Sandbox companies are created by Platzi organizers. Ask to Platzi organizers to create a sandbox company for you.

How Sandboxes Work

Email Transformation

When inviting users to a sandbox company, emails are automatically transformed to prevent affecting real accounts:

user@domain.com → user+sandbox@domain.com

This means:

  • Invitation emails are sent to the sandbox address
  • No real user accounts are modified
  • You can test the full invite flow safely

Linked to Parent Company

Each sandbox is linked to a parent company. When the parent company is deactivated, the sandbox is automatically deactivated too.

Using a Sandbox

All API endpoints work identically with sandbox companies. Simply use the sandbox company_id instead of the parent company ID:

# Invite a user to the sandbox company
curl -X POST "https://api-sls.platzi.com/production-sls-business-domains/v3/users/{sandbox_company_id}" \
-H "x-platzi-company-api-key: YOUR_API_KEY" \
-H "User-Agent: YOUR_USER_AGENT" \
-H "Content-Type: application/json" \
-d '{
"users": [
{
"email": "test@example.com",
"name": "Test User",
"licenses": 1
}
]
}'

The email will be automatically transformed to test+sandbox@example.com.

Limitations

  • Sandbox companies share the same API endpoints — there is no separate sandbox environment
  • Email transformation only applies to user invitations, not to other operations
  • Sandbox companies have their own license pool (separate from the parent). Ask to Platzi organizers to add licenses to the sandbox company if you need more.