
Gmail API Integration Profile
Information and guides about integrating with Gmail API
Add Gmail Integration to Your AppGmail Users Watch in Gmail API
Set up or update a push notification watch on the given user mailbox.
Input schema fields
Field Name | API Key | Type | Description |
---|---|---|---|
Path Parameters | pathParameters | object | |
User Id | pathParameters.userId | string | |
Query | query | object | |
Data | data | object | Set up or update a new push notification watch on this user's mailbox. |
Label Ids | data.labelIds | array of strings | List of label_ids to restrict notifications about. By default, if unspecified, all changes are pushed out. If specified then dictates which labels are required for a push notification to be generated. |
Output schema fields
Field Name | API Key | Type | Description |
---|---|---|---|
History Id | historyId | string | The ID of the mailbox's current history record. |
Expiration | expiration | string | When Gmail will stop sending notifications for mailbox updates (epoch millis). Call `watch` again before this time to renew the watch. |