poofy.email

A temporary email API that waits for the code for you

Create an inbox with one request, wait for the email, get the verification code back. Built for test automation, QA and AI agents, with a free key to start.

What the API does

Three calls cover most sign-up flows: create an inbox, long-poll until a message arrives, read it. The wait call can return only messages that contain a verification code or link, so your script never has to parse an email to find a six-digit number.

curl -s -X POST https://poofy.email/api/v1/inboxes \
  -H "Authorization: Bearer pfy_sk_..."

The response contains the new address. Use it in the form you are testing, then wait for the mail:

curl -s "https://poofy.email/api/v1/inboxes/INBOX_ID/wait?timeout=30&code=1" \
  -H "Authorization: Bearer pfy_sk_..."

The full list of endpoints, filters and limits is in the API documentation.

Why use it for testing

  • A fresh address per test run. No shared mailbox with leftover messages from the last run.
  • Webhooks as well as polling. Get a callback when mail arrives instead of holding a connection open. Webhook events carry the sender, subject, code and link, never the body.
  • Receive-only and sandboxed. Poofy cannot send mail, so a test can never email a real person by accident. Message HTML is sanitized and attachments are not stored.
  • Inboxes clean up after themselves. Set a lifetime when you create one and the inbox and its mail are deleted when it is up.

Free key, Premium when you outgrow it

Free keys are meant for trying things out and small projects, and their limits are hard. Premium raises the limits and lets you connect your own domain, so your test inboxes keep their own reputation separate from everyone else's.

Using it with AI agents

Agents that sign up for services on your behalf need an inbox they can read and a way to wait for the code. The same API does that, with read-only and expiring keys available so an agent only gets the access it needs. See Poofy for AI agents.

Not a fit for everything

Some sites refuse disposable domains, and no API changes that. For services you rely on long term, use a permanent address you control.

Frequently asked questions

Is there a free temporary email API?

Yes. Create a free key from your inbox page. Free keys have small, hard limits and are meant for trying the API and small projects.

Can the API wait for a verification code?

Yes. The wait endpoint long-polls for the next message and can return only mail that contains a code or link.

Can I send email through it?

No. Poofy is receive-only, so it can't be used to spam anyone.

Does it support webhooks?

Yes. A webhook is called when mail arrives, with the sender, subject, code and link. Fetch the full message with a separate call if you need the body.