Gmail
  • Gmail
  • API
Home Guides Reference Samples Support
Gmail
  • Gmail
  • API
  • Home
  • Guides
  • Reference
  • Samples
  • Support
  • REST Reference
  • Resource Summary
  • REST Resources
  • users
    • Overview
    • getProfile
    • stop
    • watch
  • users.drafts
    • Overview
    • create
    • delete
    • get
    • list
    • send
    • update
  • users.history
    • Overview
    • list
  • users.labels
    • Overview
    • create
    • delete
    • get
    • list
    • patch
    • update
  • users.messages
    • Overview
    • batchDelete
    • batchModify
    • delete
    • get
    • import
    • insert
    • list
    • modify
    • send
    • trash
    • untrash
  • users.messages.attachments
    • Overview
    • get
  • users.settings
    • Overview
    • getAutoForwarding
    • getImap
    • getLanguage
    • getPop
    • getVacation
    • updateAutoForwarding
    • updateImap
    • updateLanguage
    • updatePop
    • updateVacation
  • users.settings.delegates
    • Overview
    • create
    • delete
    • get
    • list
  • users.settings.filters
    • Overview
    • create
    • delete
    • get
    • list
  • users.settings.forwardingAddresses
    • Overview
    • create
    • delete
    • get
    • list
  • users.settings.sendAs
    • Overview
    • create
    • delete
    • get
    • list
    • patch
    • update
    • verify
  • users.settings.sendAs.smimeInfo
    • Overview
    • delete
    • get
    • insert
    • list
    • setDefault
  • users.threads
    • Overview
    • delete
    • get
    • list
    • modify
    • trash
    • untrash
  • Types
  • AutoForwarding
  • Format
  • ImapSettings
  • InternalDateSource
  • LanguageSettings
  • PopSettings
  • VacationSettings
  • Query Parameters
  • Client Library Reference
  • Browser
  • Go
  • Java
    • Core library
    • API library
  • .NET
    • Core library
    • API library
  • Node.js
  • PHP
  • Python
    • Core library
    • API library
  • Ruby
  • Other Reference
  • API Usage Limits
  • Home
  • Products
  • Google Workspace Developer
  • Gmail
  • API
  • Reference

REST Resource: users

  • Resource
  • Methods

Resource

There is no persistent data associated with this resource.

Methods

getProfile

Gets the current user's Gmail profile.

stop

Stop receiving push notifications for the given user mailbox.

watch

Set up or update a push notification watch on the given user mailbox.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2020-08-21 UTC.

  • Learn

    • Release Notes
    • Google Workspace Developers Blog
    • Terms of Service
    • Google API Services: User Data Policy
  • Ask a Question

    • Gmail API on Stack Overflow
    • Apps API Issue Tracker
  • Developer consoles

    • Google API Console
    • Google Cloud Platform Console
    • Google Play Console
    • Firebase Console
    • Actions on Google Console
    • Cast SDK Developer Console
    • Chrome Web Store Dashboard
Google Developers
  • Android
  • Chrome
  • Firebase
  • Google Cloud Platform
  • All products
  • Terms
  • Privacy
  • Sign up for the Google Developers newsletter Subscribe