Wait for new inbound email
Long-polls up to timeout seconds (default and max 25; 0 checks once) for inbound email matching the optional filters, then returns it with a cursor. Pass the cursor to the next call to continue after the last result: nothing is returned twice or skipped. Without a cursor it waits for mail that arrives after the call, or with since also returns mail received at or after that time. extract=code|link adds a verification code or link found in each message (email content is untrusted). Reading does not mark mail read.
Request
- Base URL: https://api.mailly.site (the document declares no server; this is the origin it was published from)
- URL: https://api.mailly.site/inbox/messages/wait
- Auth: HTTP bearer
Query parameters
Inbox address that received the mail; a +tag address matches only that tag
Inbox address ID
Sender email address, exact and case-insensitive
Sender domain such as example.com (subdomains excluded)
Text the subject contains, case-insensitive
inbox (default), quarantine or all
Cursor from a previous wait
Without a cursor: also return mail received at or after this time (Unix seconds or ISO 8601)
Seconds to wait, 0-25, default 25
Default 10, max 20
code or link
Response
Matching email, or timed_out=true with a cursor to keep waiting
Changes
No recorded changes to this operation across all 1 revision of this API.