We are looking to develop a users directory and it should create new record whenever a new Google Apps account is created. Is there any way to listen for these changes? I was thinking to go for polling via https://developers.google.com/admin-sdk/directory/v1/guides/manage-users#get_all_users but it is not the best way.
Asked
Active
Viewed 140 times
1 Answers
1
Account activity alerts notify admins of changes to the domain. Alerts can be sent when new user accounts are created. Alerts can be checked in the Control Panel, admin email or via the directory.notifications API calls.
Update: thinking about this a little more, it probably makes more sense to use the Admin SDK Reports API for this. With the Admin Activity API call, you can even limit returned results to a specific event like user creation.

Jay Lee
- 13,415
- 3
- 28
- 59
-
Thanks Jay! With the Admin Activity API call, Do you see any way to have those notifications pushed to external system so we don't need to poll them? – Mitul Makadia Nov 25 '13 at 07:05
-
There is no push method, you'll need to poll for changes at regular intervals. – Jay Lee Nov 26 '13 at 01:55
-
Thank you Jay! That should help. – Mitul Makadia Nov 27 '13 at 05:17