Practical, code-first guides for testing sign-up and verification flows with a real disposable inbox — for test suites and for AI agents.
Sign up, receive a real OTP, and finish the flow — with otpbox-playwright, otpbox-sdk, or plain REST.
Playwright · PasswordlessRequest a login link, wait for the magic_login link server-side, open it, and assert the session.
REST API · Free keyMint a key with one curl, no signup, then create inboxes and read OTP codes and links as JSON.
CypressUse otpbox-sdk from a cy.task() to create an inbox and wait for the code inside a Cypress spec.
MCP · AI agentsGive an agent its own inbox over MCP so it can sign up and read a verification code mid-task.
MCP · SetupConnect Claude Code, Cursor, Copilot, Gemini CLI or Codex to a hosted server that receives test email.
Enterprise · Inbox poolsCreate thousands of long-lived, numbered test inboxes in one call, export the list, and track inbox-days.
ComparisonAn honest, factual look at where each tool fits — API-first testing infra vs. general disposable mail.
ComparisonMCP support, SDK coverage, SMS testing, and pooled team quota, compared honestly.
ComparisonPooled flat pricing vs. per-inbox billing, MCP support, and MailSlurp's sending and SMS features.
ComparisonBoth offer a free no-signup inbox — OTPBox adds a developer API, MCP server, and ad-free Premium.
SeleniumDrive a Python + pytest signup flow, poll for a real OTP, and clean up — plain REST, no SDK needed.
PuppeteerSign up, receive a real OTP, and finish the flow — with otpbox-sdk or plain REST.
PostmanTest an API-only signup's OTP step with Postman and Newman — no browser needed.
2FA & SSOEmail-based 2FA on login, passwordless magic links, and remember-this-device logic.
AI agentsAgent-owned mailboxes vs. disposable inboxes for one verification code — and how to pick.
Looking for the API reference instead? See the docs, or check pricing. Product updates live in the changelog.
← Back to OTPBox