Virtual Email & SMS Web Inbox
Inspect test emails, OTP verification codes, magic links, itemized receipts with Cloudinary attachments, and SMS messages dispatched in your sandbox session.
No messages found
Send a test email/SMS or trigger an auth signup to see messages here.
No message selected
Select a message from the sidebar to inspect rendered HTML, verify security headers, extract OTP codes, or download Cloudinary attachments.
Virtual Inbox Architecture & Capabilities
Playground API provides a completely zero-configuration, in-memory & cloud-backed virtual communication sandbox. When your backend or frontend sends transactional emails, verification SMS, or password reset instructions, messages are captured in real-time inside your session sandbox instead of delivering to real telecom or email networks.
Automated OTP Extraction
Regex-powered OTP parser automatically identifies 4-8 digit numeric verification codes and magic links in both emails and SMS.
Cloudinary CDN Storage
Email attachments are automatically uploaded and namespaced to playground_api/emails/attachments/<session> and cleaned up on sandbox reset.
Real-Time SSE Sync
Subscribed to Server-Sent Events (/stream/notifications) so the web inbox auto-updates instantly as messages are sent.
Built-in Transactional Templates
You can reference built-in templates by passing the template property when calling POST /api/v1/emails/send along with variable substitutions in data:
| Template ID | Description | Interpolated Variables |
|---|---|---|
| welcome-verification | Signup welcome email with 6-digit verification code & link | {{name}}, {{otp}}, {{verification_link}}, {{expires_in_minutes}} |
| password-reset | Secure password reset instructions with security details | {{name}}, {{otp}}, {{reset_link}}, {{ip_address}}, {{device}} |
| invoice-receipt | Itemized transaction receipt with attachment download | {{name}}, {{invoice_id}}, {{amount}}, {{plan_name}}, {{payment_method}} |
| 2fa-code | High-priority two-factor authentication security code | {{name}}, {{otp}}, {{device}}, {{location}} |
Code Examples & Test Automation
Dispatching Emails with Attachments (TypeScript SDK)
Automated E2E Signup OTP Verification (Playwright)
Inbox & Communication REST Endpoints
/api/v1/emails/send/api/v1/emails/api/v1/sms/send/api/v1/inbox/api/v1/inbox