How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

OTP-Token header: how an AI agent reads the right verification code from email

calendar_today November 25, 2026 domain cooperemail-com

Cooper Email’s wait-for-code now reads the OTP-Token email header from IETF draft-goto-otp-token-01. When a sign-up email carries OTP-Token: “123456”; origin=”https://example.com”, GET /api/v1/inboxes/{id}/wait-for-code returns that code first with code_source otp_token_header and code_origin. Pass origin so the agent only accepts a code meant for the site it signs up to.

open_in_new Read original post