How to find a code from an old notification on iPhone
A login code, a parcel locker PIN, a booking number: it was right there in a banner a minute ago. Here’s where to look, and how not to lose the next one.
First, think about where the code came from
- Text message (SMS). Open Messages and search for the sender or for “code”. If your iPhone is set to delete verification codes after they’re used (an option in the password and AutoFill settings), the message may already be gone.
- Email. Search Mail for the name of the service. Check Junk too.
- An app’s notification. Banks, couriers, login approvals and delivery apps often send a code only as a notification. Open the app: some show the code again in an inbox or on the order page, some don’t.
If you only need to log in, asking for a new code is usually faster. Most login codes expire within minutes anyway. Text messages with codes that vanish by themselves are usually an iOS setting: why verification codes disappear.
Codes that stay useful
Not every code expires quickly. Parcel locker PINs, pickup codes, booking references, door codes and order numbers are often needed hours or days later, when the original notification is long gone.
Keep every code searchable
With Bannerback, a Shortcuts automation saves notifications from the apps you choose, and Bannerback finds codes, links, phone numbers and email addresses in their text, on your iPhone.
- Links & codes (from History) lists them all, with All, Links, Codes and Phones, and its own search.
- In a notification’s details, a code is shown large, with a Copy button.
- Codes older than a day are dimmed: they have probably expired.
- Nothing is opened or loaded until you tap it.
What to expect
- A code is recognized only when the same notification contains a word such as “code”, “OTP” or “PIN”. A code without one isn’t listed, but the text is still saved and search finds it.
- Recognition is automatic and can miss or misread a number. Check it before you use it.
- Only codes from apps in your automation, received after setup.
- Links & codes is part of the full app: open during the 7-day trial and with Bannerback Pro.
Codes are sensitive
Bannerback keeps everything on your iPhone, with no account and no server, and you can lock it with Face ID. If you’d rather not keep a bank’s codes at all, add a Don’t save filter for that app: its notifications aren’t stored. A code also goes when its entry is removed by the retention period you choose.
Delete messages with codes automatically
From Bannerback 1.1: Settings → Keep history for → One-time codes can delete the messages in which Bannerback found a one-time code, such as a verification code or a PIN:
- Keep them (the default), Delete after 1 hour or Delete after 24 hours, counted from when they were saved.
- Messages in Saved and messages with a reminder are kept.
- Detection can be wrong: if a number in an ordinary message is taken for a code, that message is deleted too.
A parcel locker PIN you need tomorrow would go too with “1 hour”, so pick the period that fits, or keep that message in Saved.
FAQ
Where do verification codes go on iPhone?
Codes sent by SMS stay in Messages, unless iOS deletes them after use. Codes sent as app notifications usually exist only in that notification, and in the app if it keeps them.
Can Bannerback read codes from my Messages app?
No. Bannerback never reads other apps. It sees a code only if the notification your Shortcuts automation passed to it contained one.