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.
| Date | What Google says |
|---|---|
| September 2026 | Deprecated, per the FAQ. Fixed Admin SDKs shipped on September 23 and 24, 2026. |
| October 1, 2026 | Instance ID server reference banner: new projects will not be able to onboard the Instance ID server-side API after this date. |
| December 1, 2026 | Device groups page: new projects cannot onboard device groups after this date. |
| January 1, 2027 | FAQ: after this date, new users can't use the deprecated APIs; existing users can until September 29, 2027. |
| September 29, 2027 | Decommissioning. 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.
| Deprecated | Endpoint | Google's replacement |
|---|---|---|
| Token info | iid.googleapis.com/iid/info/TOKEN | Validation: HTTP v1 messages:send with validate_only true. Topic info: the topic subscription API. |
| Topic subscribe and unsubscribe | iid/v1/TOKEN/rel/topics/TOPIC, iid/v1:batchAdd, iid/v1:batchRemove | The new FCM topic subscription server API, or a fixed Admin SDK. |
| APNs token import | iid/v1:batchImport | The FCM iOS SDK in the app, or sending through Apple's APNs. |
| Device group management | fcm.googleapis.com/fcm/notification, also /gcm/notification, /iid/notification and /notification | Your own group-to-token mapping and sends to individual registrations. |
| Device group send | HTTP v1 messages:send with a group notification_key | Keeps working, but won't support device group tokens after September 29, 2027. |
iid.googleapis.com or the device group endpoints....Legacy (Python: ..._legacy) topic methods, which the release notes say still call the legacy Instance ID API.batchImport.Google's list covers server-side APIs only; subscribing from the app is still documented.
| Admin SDK | Affected | Upgrade to |
|---|---|---|
Node.js (firebase-admin) | 14.4.0 or earlier | 14.5.0 or later |
Python (firebase-admin) | 7.6.0 or earlier | 7.7.0 or later |
Java (com.google.firebase:firebase-admin) | 9.10.0 or earlier | 9.11.0 or later |
Go (firebase.google.com/go/v4) | 4.21.0 or earlier | 4.22.0 or later |
.NET (FirebaseAdmin) | 3.6.0 or earlier | 3.7.0 or later |
...Legacy methods keep the old calls and are deprecated.sendAll(), sendMulticast() and sendToDeviceGroup(), among others, and 14.0.0 dropped Node.js 18 and 20 and removed legacy namespace support; Python 7.0.0 dropped Python 3.7 and 3.8 and removed send_all() and send_multicast(); Go 4.20.0 requires Go 1.25 or higher. Later releases, as of November 21, 2026: Python 7.8.0 dropped Python 3.9, and Go 4.23.0 requires Go 1.26 or higher.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
topic_name; the API reference names it topicName.ALREADY_EXISTS (HTTP 409 in Google's guide). With allowMissing set to true, delete succeeds even when the subscription isn't found.[a-zA-Z0-9-_.~%]{1,900}: drop the /topics/ prefix that Google's batchAdd example puts in the to field.cloudmessaging.topicSubscriptions.create, .delete and .list; check custom roles.429 RESOURCE_EXHAUSTED, so retry with exponential backoff.Apps can also subscribe themselves: subscribeToTopic() on Android, Messaging.messaging().subscribe(toTopic:) on iOS, Firebase.Messaging.FirebaseMessaging.Subscribe in Unity.
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" }
}
}
validate_only tests the request without delivering the message. The Admin SDKs offer a dry run (validation only): send(message, dryRun) in Node.js and Java, dry_run in Python, SendDryRun in Go, SendAsync(message, dryRun) in .NET. The Java reference notes that dry run can't validate APNs tokens.UNREGISTERED (HTTP 404) or INVALID_ARGUMENT (HTTP 400) for a registration, it is safe to delete your record of it.iid/info also returns the package name, app version and platform; the FAQ names no replacement for those, so if you need them, have the app send them with its token.token as deprecated in favor of fid; during the transition period, token also accepts an FID.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.
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.sendEachForMulticast in the Admin SDK, or one HTTP v1 request per token.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.
batchImport? Start the iOS change first: it ships in an app release that users have to install....Legacy calls, and check runtimes and IAM roles.iid/info checks to validate_only.