You are here:
Update Experience Cloud Site Membership Using the API
If you aren’t a member of an Experience Cloud site, you can’t access Experience Workspaces to update administration settings, including membership. As an alternative, you can use the API and Data Loader to add yourself and others to a site.
After you successfully add members using Data Loader, the members can access Experience Workspaces from the Workspaces link on the All Sites page in Setup.
-
Get the networkId for your Experience Cloud site.
From Setup, enter Digital Experiences in the Quick Find box, select All Sites, and then right-click your Experience Cloud site URL and select Inspect. The data-networkId property provides your networkId.
-
Get the profileId or permissionsetId you want to add.
From Setup, enter Profiles in the Quick Find box, then select Profiles or Permission Sets. Click on the profile or permission set that you want to add. The ID is the last part of the URL.
For example, at ExperienceCloudSitesSubdomainName.my.site.com/00aa11bb22, the ID is 00aa11bb22.
-
Create a .csv file with columns for networkId and parentId.
For parentId, list the profileId or permissionsetId you want to add.
-
Open Data Loader and select the Network Member Group object.
Specify the location of the .csv file you created and complete the Data Loader steps.

