BestPaid guides · Firebase · Cloud Messaging

FCM InstanceId server APIs and device groups are decommissioned on September 29, 2027: what replaces them

Google has deprecated every InstanceId server API on iid.googleapis.com (token info, topic subscribe and unsubscribe, APNs token import) and the device group feature. Back ends that call them directly, or through an old Firebase Admin SDK, have to move to the replacements Google documents before September 29, 2027.

Sources: the FCM troubleshooting and FAQ page, section "FCM legacy API deprecations" (last updated November 18, 2026); the Instance ID server reference (last updated September 28, 2026), including the deprecation banner shown on it; Manage topic subscriptions, Send messages to device groups, Migrate off device groups, Topic messaging and Best practices for FCM registration management (all November 18, 2026); the Topic Subscription API reference and its create, delete and list methods (September 18, 2026); the projects.messages.send (September 21, 2026) and Message (October 28, 2026) references; the Admin SDK messaging references for Node.js (November 6, 2026), Python (September 23, 2026), Java and .NET (both September 24, 2026) and Go (v4.23.0); Add the Firebase Admin SDK to your server; and the Admin SDK release notes for Node.js, Python, Java, Go and .NET (November 18 and 19, 2026). Checked on November 21, 2026. This page is our own summary; follow the vendor's documentation for every detail.

Dates

DateWhat Google says
September 2026Deprecated, per the FAQ. Fixed Admin SDKs shipped on September 23 and 24, 2026.
October 1, 2026Instance ID server reference banner: new projects will not be able to onboard the Instance ID server-side API after this date.
December 1, 2026Device groups page: new projects cannot onboard device groups after this date.
January 1, 2027FAQ: after this date, new users can't use the deprecated APIs; existing users can until September 29, 2027.
September 29, 2027Decommissioning. The FAQ says requests start failing after this date, and Migrate off device groups says the feature stops working after it; the Instance ID reference and the device groups page say the APIs are removed on it. Migrate off device groups says group data won't be retained afterwards.

The onboarding cutoffs conflict: the Instance ID reference gives October 1, 2026 for new projects, the device groups page December 1, 2026 for new projects, and the FAQ January 1, 2027 for new users of the deprecated APIs and features, without saying who counts as a new user. As of November 21, 2026, the October 1 date has passed, so plan any new project around the earliest date that applies to it. The FAQ says there is no service downgrade before September 29, 2027.

What stops working and what replaces it

DeprecatedEndpointGoogle's replacement
Token infoiid.googleapis.com/iid/info/TOKENValidation: HTTP v1 messages:send with validate_only true. Topic info: the topic subscription API.
Topic subscribe and unsubscribeiid/v1/TOKEN/rel/topics/TOPIC, iid/v1:batchAdd, iid/v1:batchRemoveThe new FCM topic subscription server API, or a fixed Admin SDK.
APNs token importiid/v1:batchImportThe FCM iOS SDK in the app, or sending through Apple's APNs.
Device group managementfcm.googleapis.com/fcm/notification, also /gcm/notification, /iid/notification and /notificationYour own group-to-token mapping and sends to individual registrations.
Device group sendHTTP v1 messages:send with a group notification_keyKeeps working, but won't support device group tokens after September 29, 2027.

Who is affected

Google's list covers server-side APIs only; subscribing from the app is still documented.

1. Topic subscriptions: upgrade the Admin SDK

Admin SDKAffectedUpgrade to
Node.js (firebase-admin)14.4.0 or earlier14.5.0 or later
Python (firebase-admin)7.6.0 or earlier7.7.0 or later
Java (com.google.firebase:firebase-admin)9.10.0 or earlier9.11.0 or later
Go (firebase.google.com/go/v4)4.21.0 or earlier4.22.0 or later
.NET (FirebaseAdmin)3.6.0 or earlier3.7.0 or later

2. Calling the API directly: the topic subscription API

Each request names one registration in the URL path: a Firebase installation ID (FID) or an FCM registration token. A batchAdd call took up to 1,000 tokens.

# Subscribe (replaces batchAdd and rel/topics)
POST https://fcm.googleapis.com/v1/projects/PROJECT_ID/registrations/REGISTRATION_ID/topicSubscriptions?topic_name=TOPIC_NAME
Authorization: Bearer ACCESS_TOKEN
Content-Type: application/json

{}

# Unsubscribe (replaces batchRemove)
DELETE https://fcm.googleapis.com/v1/projects/PROJECT_ID/registrations/REGISTRATION_ID/topicSubscriptions/TOPIC_NAME

# List a registration's topics
GET https://fcm.googleapis.com/v1/projects/PROJECT_ID/registrations/REGISTRATION_ID/topicSubscriptions

Apps can also subscribe themselves: subscribeToTopic() on Android, Messaging.messaging().subscribe(toTopic:) on iOS, Firebase.Messaging.FirebaseMessaging.Subscribe in Unity.

3. Token checks: validate_only instead of iid/info

POST https://fcm.googleapis.com/v1/projects/PROJECT_ID/messages:send
Authorization: Bearer ACCESS_TOKEN
Content-Type: application/json

{
  "validate_only": true,
  "message": {
    "token": "REGISTRATION_TOKEN",
    "data": { "check": "1" }
  }
}

4. APNs token import

batchImport maps APNs tokens (up to 100 per request) to FCM registration tokens on the server. Instead, add the FCM iOS SDK so the device registers itself, which takes an app release, or have your server send to the APNs tokens through Apple's APNs.

5. Device groups: export, keep your own mapping, send per token

  1. Export each group's tokens before September 29, 2027:
    GET https://fcm.googleapis.com/fcm/notification?notification_key=NOTIFICATION_KEY
    Content-Type: application/json
    access_token_auth: true
    Authorization: Bearer ACCESS_TOKEN
    project_id: SENDER_ID
    The response lists notification_key_name and registration_ids.
  2. Store the mapping (for example, user ID to tokens) in your own database; Google suggests Cloud Firestore, Realtime Database or a relational database. Have the app send its token to your back end at start-up and on refresh.
  3. Send per token: sendEachForMulticast in the Admin SDK, or one HTTP v1 request per token.
  4. Consider topics only for large fan-out: Google says topic messaging is not a direct replacement for group messaging; topics are optimized for throughput rather than latency and are recommended for large fan-out.

Code-search checklist

Search server code, Cloud Functions, scripts and admin tools:

grep -rnE 'iid\.googleapis\.com|iid/info|rel/topics|batch(Add|Remove|Import)|access_token_auth|(fcm|gcm|iid)/notification|fcm\.googleapis\.com/notification|notification_key|TopicLegacy|topic_legacy' .

Then confirm the Admin SDK version each deployed service runs, from lock files, not just the manifest.

Order of work

  1. Inventory call sites and SDK versions.
  2. Using batchImport? Start the iOS change first: it ships in an app release that users have to install.
  3. Upgrade the Admin SDKs, replace ...Legacy calls, and check runtimes and IAM roles.
  4. Move direct topic calls to the topic subscription API, and iid/info checks to validate_only.
  5. Export device group tokens, switch to your mapping and per-token sends, and stop creating groups.
  6. Test in staging (a new project is subject to the onboarding cutoffs), watch error rates, and delete the old paths well before September 29, 2027.
Push back end still on iid.googleapis.com or device groups? We update native, Unity, Flutter, React Native and Xamarin apps, and the analytics, push and purchase code behind them, to current SDKs and services at a fixed price. You keep your signing keys. It starts with a $290 check and a fixed quote within 2 business days.
See the app update offer