Verification code
A short number sent to your email or phone that you type in to prove it's really you.
What it is
A verification code (often called a one-time code or OTP) is a short-lived number, usually six digits, sent by email or text. Typing it in proves you control that inbox or phone.
Codes are used for passwordless sign-in, for confirming a new email address, and as a second step after a password (two-factor authentication).
A good code screen auto-submits once all digits are in, accepts pasting, offers "resend", and explains clearly when a code is wrong or expired.
How to ask for it
“Text people a number to log in.”
“Sign in with SMS verification codes: send a 6-digit code valid for 10 minutes, show six digit boxes that auto-advance and auto-submit, accept paste, offer "Resend code" after 30 seconds, and show "That code has expired" when relevant.”
"Text a number" leaves out expiry and the input experience; naming verification codes with those details gets a polished screen.
You've seen this in
- YTexts from your bank with a 6-digit code
- CNotion's email sign-in code
- GTwo-factor prompts on Google