Skip to content
Fourohtwo

tanod.dev/v1/email/verification-code

Extract an email's one-time code or magic link, sender domain, authentication and expiry; body never returned. Use when an agent must read a sign-up or login code or verification link from an email without the body reaching its context.

SolanaAnswering
POSThttps://tanod.dev/v1/email/verification-code

Uptime100% of 1 check in 30 days

30 days agoToday

Call it from an agent

curl -i -X POST -H 'content-type: application/json' "https://tanod.dev/v1/email/verification-code" \
  -d '{"email":"Authentication-Results: mx.example.net; spf=pass smtp.mailfrom=acme-app.com; dkim=pass header.d=acme-app.com; dmarc=pass header.from=acme-app.com\nFrom: Acme <no-reply@acme-app.com>\nSubject: Your Acme verification code\nContent-Type: text/plain; charset=utf-8\n\nYour verification code is 482913. It expires in 10 minutes."}'

# 402 Payment Required comes back with the price and where to pay.

Example input

{
  "email": "Authentication-Results: mx.example.net; spf=pass smtp.mailfrom=acme-app.com; dkim=pass header.d=acme-app.com; dmarc=pass header.from=acme-app.com\nFrom: Acme <no-reply@acme-app.com>\nSubject: Your Acme verification code\nContent-Type: text/plain; charset=utf-8\n\nYour verification code is 482913. It expires in 10 minutes."
}

More from Tanod dnspeek