🌐
Google
developers.google.com › google workspace › admin console › google workspace alert center api
Google Workspace Alert Center API | Admin console | Google for Developers
It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document: https://alertcenter.googleapis.com/$discovery/rest?version=v1beta1
🌐
Google Support
support.google.com › a › answer › 9105393
About the alert center - Google Workspace Admin Help
While domain administrators can see and manage alerts manually from the Google Admin console, the Alert center API lets apps that you build retrieve alert data and alert feedback.
🌐
Google
developers.google.com › google workspace › admin console › overview
Overview | Admin console | Google for Developers
The Alert Center API lets you manage alerts affecting your domain. An alert is a warning of a potential security issue that Google has detected.
🌐
Reddit
reddit.com › r/gsuite › google alert center api is a complete mess
r/gsuite on Reddit: Google Alert center API is a complete mess
January 28, 2025 -

Got contracted by a client to work with their Google Workspace account and automate security features.

For reference:

https://developers.google.com/admin-sdk/alertcenter/reference/alert-types

https://developers.google.com/admin-sdk/alertcenter/reference/rest/v1beta1/MailPhishing

https://developers.google.com/admin-sdk/alertcenter/reference/rest/v1beta1/GmailMessageInfo

https://developers.google.com/gmail/api/reference/rest/v1/users.messages

https://developers.google.com/gmail/api/reference/rest/v1/users.messages.attachments

  • Why are there "Suspicious message reported" and "User reported Phishing" categories but there is no "User reported spam"? Is "Suspicious" actually "Spam"? Or Phishing? It is not explained in documentation. The user interface in Gmail only has two button to report emails. Spam and Phishing. What do you mean by "Suspicious message"?

  • Why is there no way to download attachments or entire mail headers + body with the alert center API? How are we expected to analyze suspicious emails?

  • If we have to use the Gmail API, why is the messageId that comes within the alert message list different from the ID used in the Gmail api to retrieve messages? How are we supposed to get the entire message? I couldnt find an API that translates one into the another.

  • Regarding hashes that come inside "attachmentsSha256Hash[]": It is not specified to what each belongs to. Is the first one always related to the body? Or to what MIME part? Sometimes there is only 1 value, some others 2 and some others 3 or more.

  • Why when the client gets email from domains that are not under their control the "isInternal" value is set to true? This should be set to false.

I can expect this kind of errors and confusion from a small startup or SaaS with a low price tag but not from a company with such trajectory and that tries to compete with O365. This is unacceptable.

🌐
Coralogix
coralogix.com › docs › integrations › gcp › google-workspace-alert-center
Google Workspace Alert Center - Coralogix Docs
3. Navigate to API & Services > Library screen. Select Google Workspace Alert Center API and ensure it’s enabled.
🌐
GitHub
github.com › googleapis › google-api-go-client › blob › main › alertcenter › v1beta1 › alertcenter-api.json
google-api-go-client/alertcenter/v1beta1/alertcenter-api.json at main · googleapis/google-api-go-client
"description": "Manages alerts on issues affecting your domain. Note: The current version of this API (v1beta1) is available to all Google Workspace customers.
Author   googleapis
🌐
GitHub
googleapis.github.io › google-api-python-client › docs › dyn › alertcenter_v1beta1.alerts.html
Alert - The GitHub pages site for the googleapis organization.
Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. }, }, "successAlertIds": [ # The successful list of alert IDs. "A String", ], } ... Close httplib2 connections. ... Marks the specified alert for deletion. An alert that has been marked for deletion is removed from Alert Center after 30 days.
Find elsewhere
🌐
Google
developers.google.com › resources › api-libraries › documentation › alertcenter › v1beta1 › python › latest › alertcenter_v1beta1.alerts.html
Google
Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Response to batch delete operation on alerts. "failedAlertStatus": { # The status details for each failed alert_id. "a_key": { # The `Status` type defines a logical error model that is suitable for # different programming environments, including REST APIs and RPC APIs.
🌐
Datadog
docs.datadoghq.com › integrations › google-workspace-alert-center
Google Workspace Alert Center
The Datadog Google Workspace Alert Center integration uses service accounts to create an API connection between Google and Datadog.
🌐
Google Cloud
console.cloud.google.com › marketplace › product › google › alertcenter.googleapis.com
Google Workspace Alert Center API – Marketplace
Spend smart, procure faster and retire committed Google Cloud spend with Google Cloud Marketplace. Browse the catalog of over 2000 SaaS, VMs, development stacks, and Kubernetes apps optimized to run on Google Cloud.
🌐
Sumo Logic
sumologic.com › platform services › automation service › app central › automation integrations in app central › google alert center
Google Alert Center | Sumo Logic Docs
Enable the Google Workspace Alert Center API for the project at https://console.cloud.google.com/apis/library/alertcenter.googleapis.com.
🌐
Google Workspace
workspace.google.com › products › admin › alert-center
Cyber Security Alerts and Tools - Google Workspace
Seamlessly export alerts with our API into your existing tracking system or SIEM. Is alert center included with all Google Workspace editions?
🌐
Google
developers.google.com › google workspace › admin console › java quickstart
Java quickstart | Admin console | Google for Developers
NetHttpTransport transport = GoogleNetHttpTransport.newTrustedTransport(); AlertCenter service = new AlertCenter.Builder(transport, JSON_FACTORY, new HttpCredentialsAdapter(getCredentials(DELEGATED_ADMIN_EMAIL))) .setApplicationName(APPLICATION_NAME) .build();
🌐
Google
googleapis.dev › java › google-api-services-alertcenter › latest
Google Workspace Alert Center API v1beta1-rev20250414-2.0.0
JavaScript is disabled on your browser · Frame Alert · This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to Non-frame version
🌐
Reddit
reddit.com › r/gsuite › alert center api
r/gsuite on Reddit: Alert Center API
November 9, 2021 -

Setting up an alert center API. Not something I am super familiar with but used the documentation I found from Google.

Steps taken

  1. Created project

  2. Added alert Center API

  3. created service account and generated a key

  4. Set 0Auth up. ( Internal )did not list a scope. attempted to list the scope manually with the following URL found in documentation https://www.googleapis.com/auth/apps.alerts But it says this is invalid.

  5. Added to Google workspace. Security -> API Controls -> Manage third Part app access -> add app -> full access

I now use the JSON key from the service account to link the api with third party software for logging but authentication to the service account fails.

If anyone sees any big holes in this please let me know. Feel like I am close but obviously missing something. Here is the documentation I used. https://developers.google.com/admin-sdk/alertcenter/guides/prerequisites