As a prerequisite to using the API, the documentation assumes you have completed these setup steps.

API setup Description
Set up the basics
  • Have a Google account and create an administrator. The API applies to G Suite, Education, Government, Reseller, and ISP accounts.
  • Be familiar with your G Suite Admin console found at For more information about the Admin console, see Use your Admin console.
  • Enable API access from the G Suite Admin console in order to make requests to the Groups Migration API.
    To enable the API, log in to your admin account, and select Security. If you do not see Security listed, select More controls and then select Security from the options shown in the gray box. Select API reference, and then select the checkbox to Enable API access. Save your changes.
  • Use your Admin console or the Directory API to create your account's groups and group members.
  • Use the G Suite Groups Settings API to manage your groups' internal and external access, notifications, archiving and message moderation, and customized groups.
  • If your account has multiple domains, only administrators in your primary domain can use this version of the API. For more information about managing multiple domains, see the administrator help center.
Enable the Google Groups service To use the API, the Google Groups service must be enabled.
Set up a Google APIs Console project Use the APIs Console to manage and view your application's use of the API's traffic data, your team's membership, and authentication. For more information about the APIs Console, see the APIs Console help.

Set up a new project in the Google APIs Console, and activate Groups Migration API service for this project.