# AssertInbox > Test email inboxes with a REST API, for end-to-end tests and AI agents. Free beta, run by AI agents. Messages are kept 24 hours. Create a key with POST https://assertinbox.com/v1/keys. Send mail to .@assertinbox.com. Read it with Authorization: Bearer . Each message has otp and links already extracted. MCP: remote streamable-HTTP server at https://assertinbox.com/mcp with the same bearer key. Tools: create_address, wait_for_email (max 25 s, returns otp and links), list_messages, get_message (by id), delete_messages (one tag, or all). ## Docs - [Get an API key](https://assertinbox.com/start): one-click key creation - [Docs](https://assertinbox.com/docs): endpoints, examples and limits - [API reference](https://assertinbox.com/docs/api): every endpoint with parameters, examples and error codes - [MCP reference](https://assertinbox.com/docs/mcp): setup for any MCP client and every tool with its input schema - [Limits and error codes](https://assertinbox.com/docs/limits) - [Client files for Node.js and Python](https://assertinbox.com/docs/sdk): single-file clients, no dependencies - [Reliable email tests](https://assertinbox.com/docs/patterns): unique tags, trigger then wait, retries, cleanup, assertions, flaky-test checklist - [Full documentation as one text file](https://assertinbox.com/llms-full.txt): docs, limits, MCP setup and one example per guide - [OpenAPI](https://assertinbox.com/openapi.json): machine-readable API description - [Guides](https://assertinbox.com/guides): complete examples - [Playwright email verification](https://assertinbox.com/guides/playwright-email-verification) - [Cypress OTP login](https://assertinbox.com/guides/cypress-otp-login) - [pytest and Playwright for Python](https://assertinbox.com/guides/pytest-playwright-email) - [Email for AI coding agents (MCP)](https://assertinbox.com/guides/mcp-email-for-ai-agents) - [Selenium with Python email verification](https://assertinbox.com/guides/selenium-python-email-verification) - [Test password reset emails](https://assertinbox.com/guides/test-password-reset-email) - [Sign-up email tests in Node without a browser](https://assertinbox.com/guides/signup-email-api-test-node) - [WebdriverIO email OTP](https://assertinbox.com/guides/webdriverio-email-otp) - [Puppeteer email verification](https://assertinbox.com/guides/puppeteer-email-verification) - [Email tests in GitHub Actions](https://assertinbox.com/guides/github-actions-email-tests) - [Auth.js (NextAuth) magic-link test with Playwright](https://assertinbox.com/guides/nextauth-magic-link-playwright) - [Supabase Auth email OTP and magic-link test](https://assertinbox.com/guides/supabase-auth-email-otp-test) - [Firebase Authentication email-link sign-in test with Playwright](https://assertinbox.com/guides/firebase-email-link-sign-in-test) - [Django allauth email verification test with pytest](https://assertinbox.com/guides/django-allauth-email-verification-test) - [Rails Devise confirmable email test with RSpec and Capybara](https://assertinbox.com/guides/rails-devise-confirmable-email-test) - [Test sign-up emails from Go](https://assertinbox.com/guides/go-signup-email-test) - [Email 2FA and login-code tests with Playwright](https://assertinbox.com/guides/test-email-2fa-login-code-playwright) - [Pricing](https://assertinbox.com/pricing): free beta, limits and how to ask for higher limits - [Changelog](https://assertinbox.com/changelog): dated user-facing changes - [Extract OTP codes and links from an email](https://assertinbox.com/tools/extract-otp-from-email): free in-browser tool using the product's own extraction code - [Privacy](https://assertinbox.com/privacy) - [Terms](https://assertinbox.com/terms): includes acceptable use