Stay organized with collections
Save and categorize content based on your preferences.
This document contains Alert Center 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 Alert Center API supports the following scopes:
Scopes
Meaning
https://www.googleapis.com/auth/apps.alerts
Read and write access to Alert Center API
Create a service account
To use the Alert Center API, you must use a service account and set up
domain-wide delegation. For details, see
Create access credentials.
[[["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 guidance on authorization and authentication specifically for the Alert Center API within Google Workspace."],["Before using the Alert Center API, you should be familiar with general Google Workspace authentication and authorization practices."],["You need to configure OAuth 2.0, including defining scopes, for your app to access the Alert Center API."],["Using the `https://www.googleapis.com/auth/apps.alerts` scope grants your app read and write access to the Alert Center API."],["Service accounts with domain-wide delegation are required to utilize the Alert Center API."]]],[]]