As a prerequisite to using the Directory API, the documentation assumes that you have completed these setup steps:
- Complete the steps to get started Developing on Google Workspace.
- If you're a Google reseller, complete the enrollment process for the Google Workspace reseller program. All of the operations for the Directory API support delegated administrators and Google authorized resellers. However, the Chrome and mobile device operations don't support remote administrative access for Google authorized resellers.
- If you're working with Chrome device, complete these steps before using the Directory API:
- Set up the Google Chrome service.
- Enable the ChromeOS service for your account.
- Set up each Chrome device. If the Chrome device was purchased directly from Google or if you have purchased ChromeOS management access functionality separately, you can set up additional device and user policies. If you have questions, start with troubleshooting.
- If you're working with mobile devices, complete these steps before using the Directory API:
- Set up Mobile Management. Mobile Management is required for Android and Google Sync devices. For more information, see the administration help center.
- Install the device policy app for Android devices.
- If you want to enable query search by application for Android devices, enable application auditing.