1

I am trying to retrieve the size of users email boxes for my Google apps domain but I am having a hard time finding this in the APIs from Google. Does anyone know where this is? I see that they can do it in the gapps console but can not find where this is.

I am using the gapps .net client so if it is in there that would be awesome.

Nijin Narayanan
  • 2,269
  • 2
  • 27
  • 46
Roloc
  • 1,910
  • 2
  • 13
  • 16

1 Answers1

1

You can get Gmail quota and usage numbers for a user using the new Admin SDK Reports API calls.

Jay Lee
  • 13,415
  • 3
  • 28
  • 59
  • Does that serve google apps too? I was a bit confused what was consumer and what was for apps. – Roloc May 21 '13 at 16:19
  • Admin SDK is only for Google Apps, it has nothing to do with consumer accounts. – Jay Lee May 21 '13 at 16:29
  • Huh interesting... I can't seem to find the USER keys per a google apps account, I am familiar with the provisioning API though. – Roloc May 21 '13 at 16:30
  • https://developers.google.com/apis-explorer/#s/reports/v1/reports.activities.list First field is a userkey. Also... I can't see what actually gives you the storage space you are using and what the limit is. – Roloc May 21 '13 at 16:38
  • you should be using https://developers.google.com/apis-explorer/#s/reports/v1/reports.userUsageReport.get the userKey can be the user's primary SMTP email address. – Jay Lee May 21 '13 at 16:45