instanceid
InstanceID is a client‑side identifier used by several Google services to uniquely distinguish an installation of an application on a device. It was introduced as part of Google Cloud Messaging (GCM) and later adopted by Firebase Cloud Messaging (FCM) and other Firebase products. The identifier is generated by the SDK when the app first runs and is stored persistently, allowing back‑end servers to address a specific app instance for push notifications, analytics, or configuration updates.
The InstanceID service provides methods to obtain the current token, refresh it, and delete it when the
In 2020 Google announced the deprecation of the InstanceID API in favor of the Firebase Installations API.
Security considerations include treating tokens as sensitive data, transmitting them over TLS, and revoking them promptly