Try it live

Feel it in 30 seconds. No signup.

Click the button and get a real inbox address. Send any email with a code to that address, and watch wait_for_otp extract the OTP live.

This is the real API

The panel above calls the same wait primitive your code would. With an API key and inbox, the equivalent one-shot call is:

curl
# 1. send a code to your inbox (any mail that contains a code works)
curl "https://dash.mailsocket.app/api/v1/inboxes/inbox_xxx/messages/wait?require=otp&timeout=20" \
  -H "Authorization: Bearer ***"

When you're ready, sign up to keep an inbox, mint an API key, and wire wait_for_otp into your tests. The demo inboxes here are short-lived and cleared automatically.