Google: Set up or update a push notification watch on the given user mailbox For more information, see Configure push notifications in Gmail API (https: developers google com workspace gmail api guides push) — response body
Set up or update a push notification watch on the given user mailbox. For more information, see [Configure push notifications in Gmail API](https://developers.google.com/workspace/gmail/api/guides/push).: response body. Complete fields and constraints for contract 2026-10-27.
API reference · Contract 2026-10-27
SDK schema: Set up or update a push notification watch on the given user mailbox For more information, see Configure push notifications in Gmail API (https: developers google com workspace gmail api guides push) — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Push notification watch response. |
expiration | string | Optional | When Gmail will stop sending notifications for mailbox updates (epoch millis). Call `watch` again before this time to renew the watch. Format: int64 |
historyId | string | Optional | The ID of the mailbox’s current history record. Format: uint64 |