Sign in

Watch for push notifications

documented

Sets up or updates a push notification watch on the given user mailbox.

POST /gmail/v1/users/{userId}/watchUsersno implementation yet0 runs

Input

user_id*
User ID or 'me'
me or user@example.com
labelIds
Label IDs to monitor
['INBOX']
labelFilterAction
Label filter action (include|exclude)
"include" or "exclude"
labelFilterBehavior
Label filter behavior (include|exclude)
"include" or "exclude"
topicName*
Pub/Sub topic name
projects/PROJECT_ID/topics/TOPIC
Calls Gmail as you (your API key is your account); keychains.dev holds the credentials.
Watch for push notifications · Gmail · OpenIntegrations