# Mail7 > Disposable email inboxes for testing. Create a real address, receive mail, and read the one-time code or verification link as JSON. Built for automated tests and coding agents. API base: https://api.mail7.app Auth: `Authorization: Bearer m7_…` (API key from https://mail7.app/keys, free account) ## Docs - [Full API reference, one page, markdown](https://mail7.app/docs.md): every endpoint, request and response - [MCP server](https://mail7.app/docs.md#mcp-server): `https://api.mail7.app/mcp`, tools for agents - [API docs, HTML](https://mail7.app/docs) - [SMTP sandbox](https://mail7.app/smtp) - [Pricing and limits](https://mail7.app/pricing) ## The 30-second version ```sh # make an inbox curl -X POST https://api.mail7.app/v1/inboxes -H "Authorization: Bearer $MAIL7_KEY" # -> {"id":"inb_…","address":"calm-otter-482@mail7.app", …} # wait for the mail (returns as soon as it arrives) curl "https://api.mail7.app/v1/inboxes/inb_…/wait?timeout=30" -H "Authorization: Bearer $MAIL7_KEY" # -> {"subject":"…","otp":"482913","verify_link":"https://…","text":"…", …} ``` ## Blog - [Posts](https://mail7.app/blog/llms.txt): each post is also available as markdown at its URL plus `.md`