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.

Updated · 4 min read

First, think about where the code came from

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.

What to expect

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:

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.

More guides