The Groups Migration API manages the migration of shared emails from
public folders and distribution lists to Google Groups's discussion archives.
The Groups Migration API lets you store group email messages in the
cloud and make them available in the group's archive. All group members who
have access to the group's archive can view the migrated messages, but the
emails aren't delivered to individual group members.

The Groups Migration API is for the migration of shared emails to
Google Groups. For information about migrating or syncing emails from a
specific custom application to Gmail, see the
[Gmail API](https://developers.google.com/gmail/api).
For specific information for custom application migration to
Google Workspace, see the
[Google Workspace migration tools product matrix](https://support.google.com/a/answer/9413033).

If a group is suspended, hasn't been created, or has read-only access, the
Groups Migration API returns an error. For more information about how
to identify and fix these errors, see the
[Directory API](https://developers.google.com/workspace/admin/directory/v1/guides/manage-groups),
the
[Groups Settings API](https://developers.google.com/workspace/admin/groups-settings),
and
[Ways to create groups](https://support.google.com/a/answer/33343).

> [!WARNING]
> **Warning:** The Groups Migration API doesn't support data location policies requiring data to be stored in specific geographic or political boundaries for contractual reasons. Don't use the Groups Migration API if data location is required for your account.