Stay organized with collections
Save and categorize content based on your preferences.
This document contains Email Audit API-specific authorization and
authentication information. Before reading this document, be sure to read the
Google Workspace's general authentication and authorization information at
Learn about authentication and authorization.
To define the level of access granted to your app, you need to identify and
declare authorization scopes. An authorization scope is an OAuth 2.0 URI string
that contains the Google Workspace app name, what kind of data it accesses, and
the level of access. Scopes are your app's requests to work with Google Workspace data, including
users' Google Account data.
When your app is installed, a user is asked to validate the scopes used
by the app. Generally, you should choose the most narrowly focused scope
possible and avoid requesting scopes that your app doesn't require. Users more
readily grant access to limited, clearly described scopes.
The Email Audit API supports the following scopes:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-19 UTC."],[[["This document provides authorization and authentication details specifically for the Email Audit API within Google Workspace."],["Before using this API, developers should familiarize themselves with Google Workspace's general authentication and authorization guidelines."],["Apps need to be configured with OAuth 2.0, including defining scopes that specify the level of access to user data."],["The Email Audit API utilizes specific scopes to control access to audit user accounts, and developers should select the most restrictive scope necessary for their application's functionality."],["Public applications using certain scopes may require verification to ensure user data protection."]]],[]]