Gmail for Developers
  • Gmail for Developers
  • Gmail API
Sign in
Home Guides Reference Samples Support
Gmail for Developers
  • Gmail for Developers
  • 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
  • Overview
  • 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
  • Google Workspace for Developers
  • Gmail for Developers
  • Gmail API
  • Reference

Standard Query Parameters

Query parameters that apply to all Gmail API operations are documented at System Parameters.

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 2021-08-06 UTC.

  • Blog Blog
    Read the Google Workspace Developers blog
  • Stack Overflow Stack Overflow
    Ask questions with the gmail-api tag
  • file_download
    Client libraries
    Download a client library for your preferred language
  • Release notes Release notes
    See new features and behavior changes
  • Google Workspace for Developers

    • Platform overview
    • Developer products
    • Developer support
    • Terms of Service
  • Tools

    • Admin Console
    • Apps Script Dashboard
    • Google Cloud console
  • Connect

    • Blog
    • Newsletter
    • Twitter
    • YouTube
Google Developers
  • Android
  • Chrome
  • Firebase
  • Google Cloud Platform
  • All products
  • Terms
  • Privacy
  • Sign up for the Google Developers newsletter Subscribe