NotificationSet
A resource returned by the PullNotificationSet API, which contains a collection of notifications for enterprises associated with the service account authenticated for the request.
Properties
| Name | Type | Description |
|---|---|---|
| notification | array | The notifications received, or empty if no notifications are present. |
| notificationSetId | string | The notification set ID, required to mark the notification as received with the Enterprises.AcknowledgeNotification API. This will be omitted if no notifications are present. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/google-android/json-schema/google-android-notification-set-schema.json",
"title": "NotificationSet",
"description": "A resource returned by the PullNotificationSet API, which contains a collection of notifications for enterprises associated with the service account authenticated for the request.",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/google-android-androidenterprise-enterprises-api-openapi.yml#/components/schemas/NotificationSet",
"type": "object",
"properties": {
"notification": {
"items": {
"$ref": "#/$defs/Notification"
},
"type": "array",
"description": "The notifications received, or empty if no notifications are present."
},
"notificationSetId": {
"type": "string",
"description": "The notification set ID, required to mark the notification as received with the Enterprises.AcknowledgeNotification API. This will be omitted if no notifications are present."
}
},
"$defs": {
"AppRestrictionsSchemaChangeEvent": {
"properties": {
"productId": {
"type": "string",
"description": "The id of the product (e.g. \"app:com.google.android.gm\") for which the app restriction schema changed. This field will always be present."
}
},
"description": "An event generated when a new app version is uploaded to Google Play and its app restrictions schema changed. To fetch the app restrictions schema for an app, use Products.getAppRestrictionsSchema on the EMM API.",
"type": "object"
},
"AppState": {
"properties": {
"packageName": {
"description": "The package name of the app. This field will always be present.",
"type": "string"
},
"keyedAppState": {
"type": "array",
"items": {
"$ref": "#/$defs/KeyedAppState"
},
"description": "List of keyed app states. This field will always be present."
}
},
"description": "List of states set by the app.",
"type": "object"
},
"AppUpdateEvent": {
"properties": {
"productId": {
"type": "string",
"description": "The id of the product (e.g. \"app:com.google.android.gm\") that was updated. This field will always be present."
}
},
"description": "An event generated when a new version of an app is uploaded to Google Play. Notifications are sent for new public versions only: alpha, beta, or canary versions do not generate this event. To fetch up-to-date version history for an app, use Products.Get on the EMM API.",
"type": "object"
},
"DeviceReport": {
"description": "Device report updated with the latest app states for managed apps on the device.",
"properties": {
"appState": {
"type": "array",
"items": {
"$ref": "#/$defs/AppState"
},
"description": "List of app states set by managed apps on the device. App states are defined by the app's developers. This field will always be present."
},
"lastUpdatedTimestampMillis": {
"type": "string",
"description": "The timestamp of the last report update in milliseconds since epoch. This field will always be present.",
"format": "int64"
}
},
"type": "object"
},
"DeviceReportUpdateEvent": {
"description": "An event generated when an updated device report is available.",
"properties": {
"deviceId": {
"type": "string",
"description": "The Android ID of the device. This field will always be present."
},
"userId": {
"description": "The ID of the user. This field will always be present.",
"type": "string"
},
"report": {
"$ref": "#/$defs/DeviceReport",
"description": "The device report updated with the latest app states. This field will always be present."
}
},
"type": "object"
},
"EnterpriseUpgradeEvent": {
"description": "An event generated when an enterprise is upgraded.",
"type": "object",
"properties": {
"upgradeState": {
"enum": [
"upgradeStateUnspecified",
"upgradeStateSucceeded"
],
"type": "string",
"description": "The upgrade state."
}
}
},
"InstallFailureEvent": {
"description": "An event generated when an app installation failed on a device",
"properties": {
"deviceId": {
"type": "string",
"description": "The Android ID of the device. This field will always be present."
},
"productId": {
"description": "The id of the product (e.g. \"app:com.google.android.gm\") for which the install failure event occured. This field will always be present.",
"type": "string"
},
"failureReason": {
"description": "The reason for the installation failure. This field will always be present.",
"type": "string",
"enum": [
"unknown",
"timeout"
]
},
"failureDetails": {
"type": "string",
"description": "Additional details on the failure if applicable."
},
"userId": {
"type": "string",
"description": "The ID of the user. This field will always be present."
}
},
"type": "object"
},
"KeyedAppState": {
"type": "object",
"description": "Represents a keyed app state containing a key, timestamp, severity level, optional description, and optional data.",
"properties": {
"key": {
"description": "Key indicating what the app is providing a state for. The content of the key is set by the app's developer. To prevent XSS, we recommend removing any HTML from the key before displaying it. This field will always be present.",
"type": "string"
},
"stateTimestampMillis": {
"type": "string",
"description": "Timestamp of when the app set the state in milliseconds since epoch. This field will always be present.",
"format": "int64"
},
"message": {
"description": "Free-form, human-readable message describing the app state. For example, an error message. To prevent XSS, we recommend removing any HTML from the message before displaying it.",
"type": "string"
},
"severity": {
"enum": [
"severityUnknown",
"severityInfo",
"severityError"
],
"description": "Severity of the app state. This field will always be present.",
"type": "string"
},
"data": {
"description": "Additional field intended for machine-readable data. For example, a number or JSON object. To prevent XSS, we recommend removing any HTML from the data before displaying it.",
"type": "string"
}
}
},
"NewDeviceEvent": {
"description": "An event generated when a new device is ready to be managed.",
"properties": {
"dpcPackageName": {
"description": "Policy app on the device.",
"type": "string"
},
"userId": {
"type": "string",
"description": "The ID of the user. This field will always be present."
},
"managementType": {
"description": "Identifies the extent to which the device is controlled by an Android EMM in various deployment configurations. Possible values include: - \"managedDevice\", a device where the DPC is set as device owner, - \"managedProfile\", a device where the DPC is set as profile owner. ",
"type": "string",
"enum": [
"managedDevice",
"managedProfile"
]
},
"deviceId": {
"type": "string",
"description": "The Android ID of the device. This field will always be present."
}
},
"type": "object"
},
"NewPermissionsEvent": {
"type": "object",
"properties": {
"approvedPermissions": {
"type": "array",
"description": "The set of permissions that the enterprise admin has already approved for this application. Use Permissions.Get on the EMM API to retrieve details about these permissions.",
"items": {
"type": "string"
}
},
"productId": {
"type": "string",
"description": "The id of the product (e.g. \"app:com.google.android.gm\") for which new permissions were added. This field will always be present."
},
"requestedPermissions": {
"description": "The set of permissions that the app is currently requesting. Use Permissions.Get on the EMM API to retrieve details about these permissions.",
"items": {
"type": "string"
},
"type": "array"
}
},
"description": "An event generated when new permissions are added to an app."
},
"Notification": {
"description": "A notification of one event relating to an enterprise.",
"properties": {
"enterpriseId": {
"type": "string",
"description": "The ID of the enterprise for which the notification is sent. This will always be present."
},
"appUpdateEvent": {
"$ref": "#/$defs/AppUpdateEvent",
"description": "Notifications about app updates."
},
"appRestrictionsSchemaChangeEvent": {
"$ref": "#/$defs/AppRestrictionsSchemaChangeEvent",
"description": "Notifications about new app restrictions schema changes."
},
"deviceReportUpdateEvent": {
"$ref": "#/$defs/DeviceReportUpdateEvent",
"description": "Notifications about device report updates."
},
"productAvailabilityChangeEvent": {
"$ref": "#/$defs/ProductAvailabilityChangeEvent",
"description": "Notifications about product availability changes."
},
"enterpriseUpgradeEvent": {
"$ref": "#/$defs/EnterpriseUpgradeEvent",
"description": "Notifications about enterprise upgrade."
},
"installFailureEvent": {
"$ref": "#/$defs/InstallFailureEvent",
"description": "Notifications about an app installation failure."
},
"timestampMillis": {
"type": "string",
"description": "The time when the notification was published in milliseconds since 1970-01-01T00:00:00Z. This will always be present.",
"format": "int64"
},
"notificationType": {
"enum": [
"unknown",
"testNotification",
"productApproval",
"installFailure",
"appUpdate",
"newPermissions",
"appRestricionsSchemaChange",
"productAvailabilityChange",
"newDevice",
"deviceReportUpdate",
"enterpriseUpgrade"
],
"description": "Type of the notification.",
"type": "string"
},
"newPermissionsEvent": {
"$ref": "#/$defs/NewPermissionsEvent",
"description": "Notifications about new app permissions."
},
"newDeviceEvent": {
"$ref": "#/$defs/NewDeviceEvent",
"description": "Notifications about new devices."
},
"productApprovalEvent": {
"$ref": "#/$defs/ProductApprovalEvent",
"description": "Notifications about changes to a product's approval status."
}
},
"type": "object"
},
"ProductApprovalEvent": {
"description": "An event generated when a product's approval status is changed.",
"type": "object",
"properties": {
"productId": {
"type": "string",
"description": "The id of the product (e.g. \"app:com.google.android.gm\") for which the approval status has changed. This field will always be present."
},
"approved": {
"enum": [
"unknown",
"approved",
"unapproved"
],
"type": "string",
"description": "Whether the product was approved or unapproved. This field will always be present."
}
}
},
"ProductAvailabilityChangeEvent": {
"description": "An event generated whenever a product's availability changes.",
"type": "object",
"properties": {
"availabilityStatus": {
"type": "string",
"description": "The new state of the product. This field will always be present.",
"enum": [
"unknown",
"available",
"removed",
"unpublished"
]
},
"productId": {
"description": "The id of the product (e.g. \"app:com.google.android.gm\") for which the product availability changed. This field will always be present.",
"type": "string"
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/google-android-notification-set"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.