System operational. Zero-knowledge cryptographic perimeter active.
Zero-Auth Test Environment

Natrium API Sandbox

The Natrium Sandbox (https://natrium.sh/api/v1/sandbox) is a zero-auth, non-destructive test environment for validating email envelopes, Idempotency-Key replay safety, and asynchronous 202 Accepted job polling without modifying live mailboxes or dispatching outbound SMTP traffic.

Inspect Sandbox JSONDeveloper Portal

1. Synchronous Sandbox Simulation

Query sandbox status with GET or submit a dry-run mail dispatch with Idempotency-Key:

  • Echoes deterministic sbx_* simulation IDs
  • Returns API-Version: 1.0.0 and IETF RateLimit headers
curl -sS https://natrium.sh/api/v1/sandbox
curl -sS -X POST https://natrium.sh/api/v1/sandbox \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: sbx-demo-001" \
  -d '{"action":"simulate_send","to":"sandbox@natrium.sh","subject":"Sandbox Test"}'

2. Asynchronous 202 Job Polling

Pass "async": true to receive 202 Accepted with a Location header and poll GET /api/v1/jobs/{jobId}.

  • Standard 202 Accepted + Location async workflow
  • Returns RFC 9457 404 application/problem+json for unknown jobs
curl -i -sS -X POST https://natrium.sh/api/v1/sandbox \
  -H "Content-Type: application/json" \
  -d '{"action":"simulate_send","to":"sandbox@natrium.sh","subject":"Async Test","async":true}'

curl -sS https://natrium.sh/api/v1/jobs/sbx_8d6a7e1a7f90