Skip to main content
GET
Gorkmail automatically analyzes every inbound email (after Agent Shield sanitization) for verification signals: one-time codes and verification links that services send during account signup, login, or password reset. This endpoint returns the structured result so your agent can complete verification without parsing raw email bodies.

Response

object
string
The message the verification was detected in (msg_...).
string
otp, magic_link, or otp_and_magic_link.
string
high (trigger keyword adjacent to the code/link) or medium.
object
string
The extracted one-time code (4–8 characters, numeric or alphanumeric).
string
ISO 8601 expiry derived from phrasing like “expires in 10 minutes”, when present.
string
Sending domain of the verification email (e.g. github.com).
string
The verification/confirmation URL extracted from the email.
string
ISO 8601 expiry, when the email states one.
string
Sending domain of the verification email.
object
string
Subject line of the message.
string
The trigger phrase that matched (e.g. verification code).
Detection runs on sanitized content — prompt-injection payloads, zero-width characters, and hidden text are stripped by Agent Shield before verification analysis, so a cloaked or spoofed code cannot poison the result. Unsubscribe links and social share links are explicitly excluded from magic-link detection.
Returns 404 verification_not_found when the message has no detectable verification signal. Auto-replies (out-of-office etc.) never carry verification data.