Early access · launching soon. Request access

Early access

Early access · launching soon
Product
IntelligenceEarly access. Designed and in development. No results yet. See what's left on the roadmap.
Developers
Resources
Request access

A person reads every request.

Glossary · Delivery

Collapse key

A collapse key is an identifier that tells the push service, and the device, that a newer message replaces an older one with the same key. While a device is offline only the latest one is kept, and on screen the new notification takes the old one's place.

Also called collapse ID, notification tag; on the web, the Topic header

Replace, don't stack

Some messages are only useful in their latest version: a live score, the number of unread lessons, a delivery's status. Send each with the same collapse key and two things happen. The push service keeps only the newest while the device can't be reached, and when it's delivered, the device replaces the earlier notification instead of adding another.

Three sends, one notification
  1. 8:00 “1 new lesson”
  2. 8:20 “2 new lessons”
  3. 8:45 “3 new lessons”
  4. phone offline until 9:10

Without a collapse key

Lingora 9:10

Lingora

3 new lessons

Lingora 9:10

Lingora

2 new lessons

Lingora 9:10

Lingora

1 new lesson

With collapse key lessons-count

Lingora 9:10

Lingora

3 new lessons

Three sends while a phone is offline. Without a collapse key the phone shows a stack of three notifications; with the collapse key lessons-count it shows one, the latest.

Same idea, three spellings

  • FCM (Android): android.collapse_key. FCM keeps up to four different collapse keys per device at a time; past that, it doesn't guarantee which ones survive. On the device, a notification tag replaces a shown notification with the same tag.
  • APNs (iOS): the apns-collapse-id header, up to 64 bytes. A new notification with the same ID replaces the one on screen.
  • Web push: the Topic header. A push service replaces a pending message that has the same topic; the browser's notification tag replaces one already shown.

JSON, FCM HTTP v1

JSON

{ "message": { "token": "…",
    "android": { "collapse_key": "lessons-count" },
    "apns": { "headers": { "apns-collapse-id": "lessons-count" } } } }

Every message that matters on its own

  • Don't collapse messages that each carry their own news, such as two different replies. People lose one.
  • Don't reuse one key for unrelated messages to "save" slots. FCM's four-key limit is per device, not per type.
  • A collapse key doesn't cancel a delivered notification by itself. It only replaces it when a new one with the same key arrives.

In Oricato

Each message can carry one collapse key, set in the composer or the API. Oricato maps it to every platform for you:

  • Android: android.collapse_key for the push service, and the notification tag on the device, so the Oricato SDK replaces the notification on screen.
  • iOS: apns-collapse-id.
  • The key is the same string everywhere, so a report or an API call names it once.

Mobile push in Oricato

Sources Firebase, "Non-collapsible and collapsible messages"; Apple, "Sending notification requests to APNs"; RFC 8030 §5.4 (read Oct 16, 2026).

Oricato Dispatch

Small push details, explained well.

One practical piece a month on push, web push and email delivery.

Once a month. Until sign-up opens, one short email from you to us is all it takes; a person adds you. Privacy Policy

Request access