Questions tagged [google-email-audit-api]

With the Google Apps Admin Audit API you can survey the activities of all of your account's administrators. The API gives details about changes to a key subset of your Google Apps services and features settings including settings for Calendar, Chat, your delegated administrators, Docs, domain configuration, Gmail, Groups, mobile settings, organization hierarchy, Sites, and user settings. In addition to the setting changes, the API returns specifics about the change activity itself, including the IP address used by the administrator.

This API's functionality is a key building block for your Google Apps account's IT infrastructure.

24 questions
3
votes
1 answer

Using Google's Audit API to monitor google apps email

I need to get some admin users using google apps gmail the ability to monitor their employees email. Have you used Google's Audit API to do this. I wish there there was a way for the admins to just click a view my users email but that doesn't be the…
thenengah
  • 42,557
  • 33
  • 113
  • 157
3
votes
1 answer

Download a mailbox using Email Audit (Admin SDK)

I want to download mailbox by using the Admin SDK, but I can't get it working. I can't find what's the Scope I need to define. I'm using a service account. In order to prepare a download, you have to do a POST request to…
2
votes
0 answers

updating the public key via the api constantly fails with EncryptionPublicKeyInvalidFormat

Please see the results below from the oauth2.0 playground. I followed the instructions from the page ( https://developers.google.com/admin-sdk/email-audit/auth#generating_key ) and it is constanty failing. it used to work fine, but all of a…
mike.schlanser
  • 121
  • 1
  • 6
2
votes
0 answers

google email audit api

I am writing a program to download users mailbox from admin account. For this I referred https://developers.google.com/admin-sdk/email-audit/ In the given code, an AuditService method is used as below: AuditService service1 = new…
2
votes
1 answer

Email Audit API / Mialbox Dump Request : Are the mailbox download included in the quota?

We programatically limited our use of the Email Audit API to 800 requests / day (using US/Pacific timezone), but we still meet DeadlineExceeded errors. Do the mailbox download (HTTP GET to the urls provided by the API) count in the quota ? Or can we…
David
  • 5,481
  • 2
  • 20
  • 33
1
vote
0 answers

G Suite count mail messages sent

I use Gmail G Suite to send email messages using it as an smtp relay, so in my web app web.config I use smtp-relay.gmail.com; I'd like to count how many mails are sent with this method. I tried the Report API GMail but the data are not updated…
1
vote
1 answer

Token invalid - Invalid token: Unsupported token type 5

I'm working with G Suite Email Audit API. After set up OAuth 2.0 token to acces the API; I had got the error when using this POST Request: Token invalid - Invalid token: Unsupported token type 5
1
vote
0 answers

com.google.gdata.util.AuthenticationException: Error authenticating (check service name)

I try to use email audit api for my G suite. I connect with the admin of my domain. This is my code: package com.archivage.gmail; import com.google.api.client.googleapis.auth.oauth2.GoogleCredential; import…
anas17
  • 11
  • 2
1
vote
1 answer

Google reports Email Log Search API

In the admin panel, one can go to Reports and run an Email Log Search. I wasn't able to find an API (hopefully RESTful) for this. Can anyone point me in the right direction? I know there is Email Audit Logs but that's not quite what I'm looking for.…
1
vote
3 answers

Parameters too long using Node.js & HTTPS for Email Audit API

I'm using Email Audit API to monitor emails of my company. Unfortunately, I can't upload my public key as asked here following the instructions here https://developers.google.com/admin-sdk/email-audit/auth. In that example, I will use the public key…
Delconi
  • 23
  • 4
1
vote
1 answer

how to use Email Audit API with gdata python client library?

When I use gdata-python-client library https://github.com/google/gdata-python-client/blob/master/samples/apps/email_audit_email_monitoring.py, I met an error at the beginning. import re import sys import gdata from gdata.apps.audit.service import…
0
votes
1 answer

Error 400: invalid_scope ["https://www.googleapis.com/auth/apps.reporting.audit"] unable to set up email monitor with googleAPI python client

I began following the code sample given on googleapis github page to help me understand how the Email audit API works. The sample initialized the API service like this: from googleapiclient import sample_tools service, flags = sample_tools.init( …
0
votes
1 answer

Google Email Audit API - Create a mailbox for export error

We're trying to request a mailbox download from Google, we're sending the request to the following URL : https://apps-apis.google.com/a/feeds/compliance/audit/mail/export/dev-gpanel.com/andrew However, after this, we received the following error…
0
votes
1 answer

What is the minimum user roles/permission for using Google Email Audit API

I am getting start with Google Apps Admin SDK > Email Audit API, I can successfully call the API GET https://apps-apis.google.com/a/feeds/compliance/audit/mail/monitor/{domain name}/{source user name} using OAuth token authorized by a super admin…
Josephus Yang
  • 49
  • 1
  • 8
0
votes
1 answer

Precisions on Email Audit API by Google

I want to monitor employees interactions inside companies. In the case the company is using Gmail, I was thinking about using https://developers.google.com/admin-sdk/email-audit/. But i still have some questions regarding the "lawful" purpose and…
Delconi
  • 23
  • 4
1
2